block: remove a superflous check in blkpg_do_ioctl
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Nov 2020 08:43:52 +0000 (09:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:39 +0000 (14:53 -0700)
commit3f50b95e0edd22824b2650eb65466bf7060f7488
tree68a3627b4333ce3ec210893945a253db1c4d3b12
parentb601d148a16ea16dfbaf3600be35ee175847a09b
block: remove a superflous check in blkpg_do_ioctl

sector_t is now always a u64, so this check is not needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/ioctl.c