]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e8d610f3c595e095583be9d6d2e1eed80ced0d5
tree8eca41f4ab3e457d891e5d15a253e9f5948475fa
parent3a3dc9aa56c71048566e0842a79aca2430590b24
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