diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-06 06:15:04 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 05:53:22 -0600 |
commit | db9a02baa23267c695a44234a0f2f4607992780e (patch) | |
tree | 5763bbfbcb0774571843d21bcd340cc219ff397b /kernel | |
parent | e0d78afeb8d190164a823d5ef5821b0b3802af33 (diff) |
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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions