block: don't reject too large max_user_sectors in blk_validate_limits
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Mar 2024 06:07:45 +0000 (07:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Mar 2024 17:28:52 +0000 (11:28 -0600)
commit038105a200689ae07eb9e804ca2295e628a45820
tree912888c67f1479bef1971105342efbd431b051ae
parentdc53d9eac1db76fd27b1fcee1f64c840cf82b468
block: don't reject too large max_user_sectors in blk_validate_limits

We already cap down the actual max_sectors to the max of the hardware
and user limit, so don't reject the configuration.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240326060745.2349154-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c