commit | 06efffda51d9785ea765b42ad25bd65405facf12 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Fri Nov 11 20:05:30 2016 +0800 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 22 08:57:55 2016 -0700 |
tree | cdcdc97326e0b259efcb0f1b9bf559a523f985f4 | |
parent | 3a83f4677539bce8eaa2bca9ee9c20e172d7ab04 [diff] |
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>