android_kernel_xiaomi_sm8350/drivers/block
Linus Torvalds 09c0dc6862 Revert "[PATCH] kthread: update loop.c to use kthread"
This reverts commit c7b2eff059.

Hugh Dickins explains:

 "It seems too little tested: "losetup -d /dev/loop0" fails with
  EINVAL because nothing sets lo_thread; but even when you patch
  loop_thread() to set lo->lo_thread = current, it can't survive
  more than a few dozen iterations of the loop below (with a tmpfs
  mounted on /tst):

	j=0
	cp /dev/zero /tst
	while :
	do
	    let j=j+1
	    echo "Doing pass $j"
	    losetup /dev/loop0 /tst/zero
	    mkfs -t ext2 -b 1024 /dev/loop0 >/dev/null 2>&1
	    mount -t ext2 /dev/loop0 /mnt
	    umount /mnt
	    losetup -d /dev/loop0
	done

  it collapses with failed ioctl then BUG_ON(!bio).

  I think the original lo_done completion was more subtle and safe
  than the kthread conversion has allowed for."

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 11:55:42 -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] m68k: introduce irq controller 2006-06-25 10:00:57 -07:00
ataflop.c
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c [PATCH] CCISS: tidy up product table indentation 2006-06-25 10:01:22 -07:00
cciss.h [PATCH] CCISS: request all PCI resources 2006-06-25 10:01:21 -07:00
cpqarray.c [PATCH] cpqarray section fix 2006-06-25 10:01:06 -07:00
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c
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 Revert "[PATCH] kthread: update loop.c to use kthread" 2006-06-26 11:55:42 -07:00
Makefile
nbd.c [PATCH] nbd: kill obsolete changelog, add GPL 2006-06-25 10:01:06 -07:00
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
viodasd.c
xd.c
xd.h
z2ram.c