android_kernel_xiaomi_sm7250/drivers/block
Michal Feix f0df33bcab [PATCH] nbd: Abort request on data reception failure
When reading from nbd device, we need to receive all the data after
receiving reply packet from the server - otherwise such request will never
be ended.

If socket is closed right after accepting reply control packet and in the
middle of waiting for read data, nbd_read_stat() returns NULL and
nbd_end_request() is not called.

This patch fixes it.

Signed-off-by: Michal Feix <michal@feix.cz>
Acked-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-31 13:28:39 -07:00
..
aoe [PATCH] aoe: cleanup i_rdev usage 2006-07-10 13:24:25 -07:00
paride
acsi_slm.c
acsi.c
amiflop.c
ataflop.c
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c [PATCH] cciss: fix stall with softirq handling and CFQ 2006-07-25 15:02:48 +02:00
cciss.h
cpqarray.c [PATCH] drivers/block/cpqarray.c: remove an unused variable 2006-07-14 21:53:53 -07:00
cpqarray.h
cryptoloop.c
DAC960.c [PATCH] irq-flags: drivers/block Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
DAC960.h
floppy.c [PATCH] lockdep: floppy.c irq release fix 2006-07-03 15:27:00 -07:00
ida_cmd.h
ida_ioctl.h
Kconfig [PATCH] ramdisk blocksize Kconfig entry 2006-07-14 21:53:53 -07:00
loop.c
Makefile
nbd.c [PATCH] nbd: Abort request on data reception failure 2006-07-31 13:28:39 -07:00
pktcdvd.c [PATCH] lockdep: annotate pktcdvd natural device hierarchy 2006-07-31 13:28:39 -07:00
ps2esdi.c [PATCH] irq-flags: drivers/block Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
rd.c [PATCH] ramdisk blocksize Kconfig entry 2006-07-14 21:53:53 -07:00
smart1,2.h
swim3.c [POWERPC] Update the SWIM3 (powermac) floppy driver 2006-07-03 17:25:26 +10:00
swim_iop.c
sx8.c [PATCH] irq-flags: drivers/block Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
ub.c
umem.c [PATCH] irq-flags: drivers/block Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
viodasd.c
xd.c
xd.h
z2ram.c