summaryrefslogtreecommitdiffstats
path: root/drivers/block/ps3disk.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2016-11-11 13:05:30 +0100
committerJens Axboe <axboe@fb.com>2016-11-22 16:57:55 +0100
commit06efffda51d9785ea765b42ad25bd65405facf12 (patch)
treecdcdc97326e0b259efcb0f1b9bf559a523f985f4 /drivers/block/ps3disk.c
parentblock: bio: pass bvec table to bio_init() (diff)
downloadlinux-06efffda51d9785ea765b42ad25bd65405facf12.tar.xz
linux-06efffda51d9785ea765b42ad25bd65405facf12.zip
block: drbd: remove impossible failure handling
For a non-cloned bio, bio_add_page() only returns failure when the io vec table is full, but in that case, bio->bi_vcnt can't be zero at all. So remove the impossible failure handling. Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/ps3disk.c')
0 files changed, 0 insertions, 0 deletions