]> err.no Git - linux-2.6/commitdiff
[SCSI] sd: select CRC_T10DIF only when necessary
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 2 Aug 2008 17:49:40 +0000 (19:49 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 29 Aug 2008 13:59:50 +0000 (08:59 -0500)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/Kconfig

index c7f06298bd3c09242abd800cebb1b2b7dfb3f104..4e0322b1c1ea07301f180621912cd785d8882402 100644 (file)
@@ -63,7 +63,7 @@ comment "SCSI support type (disk, tape, CD-ROM)"
 config BLK_DEV_SD
        tristate "SCSI disk support"
        depends on SCSI
-       select CRC_T10DIF
+       select CRC_T10DIF if BLK_DEV_INTEGRITY
        ---help---
          If you want to use SCSI hard disks, Fibre Channel disks,
          Serial ATA (SATA) or Parallel ATA (PATA) hard disks,