]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove bio_is_rw
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Oct 2016 13:12:09 +0000 (15:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 28 Oct 2016 14:45:17 +0000 (08:45 -0600)
commitb99c47b212c3a4bc857d83a6ae05742a06a42e84
tree42ac63ae9fffaedb92a124603f3e0fc2e7cb0b72
parentbb46f9b80a3e1ce155c4742c1d02f1365070d477
block: remove bio_is_rw

With the addition of the zoned operations the tests in this function
became incorrect.  But I think it's much better to just open code the
allow operations in the only caller anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio-integrity.c
include/linux/bio.h