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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Oct 2018 05:13:35 +0000 (01:13 -0400)
commit80b045b385cfef10939c913fbfeb19ce5491c1f2
tree8eca41f4ab3e457d891e5d15a253e9f5948475fa
parent5e568d22fc7963a1cfe0d7d87c46c2ed6a934369
scsi: target/core: Use the SECTOR_SHIFT constant

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>
drivers/target/target_core_iblock.c
drivers/target/target_core_iblock.h