aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-24 11:02:35 +0100
committerJens Axboe <axboe@kernel.dk>2021-01-24 18:17:20 -0700
commit2f9f6221b9b9944e96c80455b469a6f0269c558b (patch)
tree5b086d1afdf5e08613d20c029d457bde85233df9 /include/linux/blkdev.h
parentblock: store a block_device pointer in struct bio (diff)
downloadwireguard-linux-2f9f6221b9b9944e96c80455b469a6f0269c558b.tar.xz
wireguard-linux-2f9f6221b9b9944e96c80455b469a6f0269c558b.zip
block: simplify submit_bio_checks a bit
Merge a few checks for whole devices vs partitions to streamline the sanity checks. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions