Skip to content
Commit db9a02ba authored by Jens Axboe's avatar Jens Axboe
Browse files

block: move bdev_read_only() into the header



This is called for every write in the fast path, move it inline next
to get_disk_ro() which is called internally.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e0d78afe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment