block: convert fops.c magic constants to SHIFT_SECTOR
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 20 Oct 2021 19:00:50 +0000 (20:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Oct 2021 14:27:17 +0000 (08:27 -0600)
commit6549a874fb65e7ad4885d066ec314191cc137b52
tree3b4dd35a7e17c73aef59bb7e0909013d4ab0b207
parent179ae84f7ef5225e03cd29cb9a75f6e90d2d7388
block: convert fops.c magic constants to SHIFT_SECTOR

Don't use shifting by a magic number 9 but replace with a more
descriptive SHIFT_SECTOR.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/068782b9f7e97569fb59a99529b23bb17ea4c5e2.1634755800.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c