summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-27 10:23:04 +0100
committerJens Axboe <axboe@kernel.dk>2023-12-27 18:46:01 +0100
commit3d77976c3a8586ab1fb6845e2061588b7d04934f (patch)
tree597c695905e147cbe9b813e683c344a96514ffc2 /block/blk-settings.c
parentaoe: don't abuse BLK_DEF_MAX_SECTORS (diff)
downloadlinux-3d77976c3a8586ab1fb6845e2061588b7d04934f.tar.xz
linux-3d77976c3a8586ab1fb6845e2061588b7d04934f.zip
loop: don't abuse BLK_DEF_MAX_SECTORS
BLK_DEF_MAX_SECTORS despite the confusing name is the default cap for the max_sectors limits. Don't use it to initialize max_hw_setors, which is a hardware / driver capacility. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20231227092305.279567-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions