diff options
author | Christoph Hellwig | 2021-10-18 12:11:02 +0200 |
---|---|---|
committer | Jens Axboe | 2021-10-18 14:43:22 -0600 |
commit | 6436bd90f76e75d2c5786a50203b05a9b7f7100d (patch) | |
tree | 42be0dddf22b8518f4ca2cd0c6d5d9995844e750 /drivers/md/bcache/super.c | |
parent | 99457db8b40c66941072a383a5ab4e36bc53fd3d (diff) |
block: add a bdev_nr_bytes helper
Add a helper to query the size of a block device in bytes. This
will be used to remove open coded access to ->bd_inode.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20211018101130.1838532-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/super.c')
0 files changed, 0 insertions, 0 deletions