android_kernel_xiaomi_sm8350/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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
acsi_slm.c [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00
acsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
amiflop.c [PATCH] m68k: introduce irq controller 2006-06-25 10:00:57 -07:00
ataflop.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
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: fix stall with softirq handling and CFQ 2006-07-25 15:02:48 +02:00
cciss.h [PATCH] CCISS: request all PCI resources 2006-06-25 10:01:21 -07:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed 2006-06-26 12:25:08 -07:00
umem.c [PATCH] irq-flags: drivers/block Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
viodasd.c [PATCH] devfs: Last little devfs cleanups throughout the kernel tree. 2006-06-26 12:25:09 -07:00
xd.c [PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed 2006-06-26 12:25:08 -07:00
xd.h
z2ram.c [PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed 2006-06-26 12:25:08 -07:00