]> git.hungrycats.org Git - linux/commit
block: return unsigned int from bdev_io_min
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2024 07:26:02 +0000 (08:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:54:29 +0000 (13:54 +0100)
commit25e3fb956bbd15cf2dffcacd4683df4a754b0762
tree009bf773a05d02a16528ff2e71e88241f6e74f39
parenta0e93b9fefafe97d596f9c98701ae6c3b04b3ff6
block: return unsigned int from bdev_io_min

[ Upstream commit 46fd48ab3ea3eb3bb215684bd66ea3d260b091a9 ]

The underlying limit is defined as an unsigned int, so return that from
bdev_io_min as well.

Fixes: ac481c20ef8f ("block: Topology ioctls")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20241119072602.1059488-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/blkdev.h