Patch "sd: Fix missing ATO tag check" has been added to the 3.19-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
sd: Fix missing ATO tag check
to the 3.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
sd-fix-missing-ato-tag-check.patch
and it can be found in the queue-3.19 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e557990e358934fb168d30371c9c0f63e314c6b8Mon Sep 17 00:00:00 2001
From: "Martin K. Petersen" <[email protected]>
Date: Tue, 14 Apr 2015 17:11:03 -0400
Subject: sd: Fix missing ATO tag check
From: "Martin K. Petersen" <[email protected]>
commit e557990e358934fb168d30371c9c0f63e314c6b8 upstream.
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.
--- drivers/scsi/sd_dif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/sd_dif.c +1 -1
@@ -77,7 +77,7 @@ void sd_dif_config_host(struct scsi_disk disk->integrity->flags |=BLK_INTEGRITY_DEVICE_CAPABLE ; -if (!sdkp) +if (!sdkp->ATO)return ;if (type ==SD_DIF_TYPE3_PROTECTION )
Patches currently in stable-queue which might be from [email protected] are
queue-3.19/target-file-fix-bug-when-config_debug_sg-y-and-dif-protection-enabled.patch queue-3.19/target-file-fix-unmap-with-dif-protection-support.patch queue-3.19/sd-unregister-integrity-profile.patch queue-3.19/target-file-fix-sg-table-for-prot_buf-initialization.patch queue-3.19/sd-fix-missing-ato-tag-check.patch