sd: Fix missing ATO tag check
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Apr 2015 21:11:03 +0000 (17:11 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 16 Apr 2015 17:37:12 +0000 (10:37 -0700)
commite557990e358934fb168d30371c9c0f63e314c6b8
treee062f9d7688116868add0f400e6985aca4855c28
parente727c42bd55794765c460b7ac2b6cc969f2a9698
sd: Fix missing ATO tag check

3aec2f41a8bae introduced a merge error where we would end up check for
sdkp instead of sdkp->ATO. Fix this so we register app tag capability
correctly.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: <stable@vger.kernel.org> # v3.17+
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/sd_dif.c