kernel-ark/drivers/block
Constantine Sapuntzakis eefe85ee35 [PATCH] drivers/block/loop.c: don't return garbage if LOOP_SET_STATUS not called
While writing a version of losetup, I ran into the problem that the loop
device was returning total garbage.

It turns out the problem was that this losetup was only issuing the
LOOP_SET_FD ioctl and not issuing a subsequent LOOP_SET_STATUS ioctl.  This
losetup didn't have any special status to set, so it left out the call.

The deeper cause is that loop_set_fd sets the transfer function to NULL,
which causes no transfer to happen lo_do_transfer.

This patch fixes the problem by setting transfer to transfer_none in
loop_set_fd.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-23 07:43:09 -07:00
..
aoe [NET]: Clean up skb_linearize 2006-06-17 21:30:16 -07:00
paride
acsi_slm.c
acsi.c
amiflop.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
ataflop.c
cciss_cmd.h
cciss_scsi.c [SCSI] fix up request buffer reference in various scsi drivers 2006-06-06 11:07:25 -04:00
cciss_scsi.h
cciss.c [PATCH] CCISS: add device symlink to the block cciss block devices in sysfs 2006-06-21 12:40:47 -07:00
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c [SCSI] fix (unlikely) memory leak in DAC960 driver 2006-05-20 09:23:23 -05:00
DAC960.h
floppy.c [PATCH] powerpc: Use check_legacy_ioport() on ppc32 too. 2006-04-28 21:04:55 +10:00
ida_cmd.h
ida_ioctl.h
Kconfig [PATCH] frv: initrd is grossly broken on frv (never built) 2006-06-23 07:42:55 -07:00
loop.c [PATCH] drivers/block/loop.c: don't return garbage if LOOP_SET_STATUS not called 2006-06-23 07:43:09 -07:00
Makefile
nbd.c
pktcdvd.c
ps2esdi.c
rd.c
smart1,2.h
swim3.c
swim_iop.c
sx8.c
ub.c [PATCH] ub: random cleanups 2006-06-21 15:04:14 -07:00
umem.c [PATCH] Replace 0xff.. with correct DMA_xBIT_MASK 2006-03-28 09:16:07 -08:00
viodasd.c [PATCH] powerpc: update iSeries viodasd device-tree entries 2006-05-19 14:35:28 +10:00
xd.c
xd.h
z2ram.c