block: move the SECTOR_SIZE related definitions to blk_types.h
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Oct 2021 10:11:01 +0000 (12:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:43:22 +0000 (14:43 -0600)
commit99457db8b40c66941072a383a5ab4e36bc53fd3d
tree97852136e6faa2a3a5a5afa7ff43342c1ccd9be4
parent4f5022453acd0f7b28012e20b7d048470f129894
block: move the SECTOR_SIZE related definitions to blk_types.h

Ensure these are always available for inlines in the various block layer
headers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20211018101130.1838532-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk_types.h
include/linux/blkdev.h