scsi: target/core: Use the SECTOR_SHIFT constant
authorBart Van Assche <bvanassche@acm.org>
Mon, 15 Oct 2018 15:51:37 +0000 (08:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Sep 2019 06:22:16 +0000 (08:22 +0200)
commitba52842de1adfc46ee78d6e2fc6440b97508abc5
treeaaed971edabf47ec3cb1d188076829aef7dac503
parent17111037fdf07b2468598506229872b8a135f834
scsi: target/core: Use the SECTOR_SHIFT constant

[ Upstream commit 80b045b385cfef10939c913fbfeb19ce5491c1f2 ]

Instead of duplicating the SECTOR_SHIFT definition from <linux/blkdev.h>,
use it. This patch does not change any functionality.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/target/target_core_iblock.c
drivers/target/target_core_iblock.h