]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit520ed666fd2470c020313693590a7ebae7a8bd1a
tree68a3627b4333ce3ec210893945a253db1c4d3b12
parent0393fe61facbe175034aaa6fcfb340cc674420a5
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