Patch "sd: Unregister integrity profile" has been added to the 4.0-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
sd: Unregister integrity profile
to the 4.0-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-unregister-integrity-profile.patch
and it can be found in the queue-4.0 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
e727c42bd55794765c460b7ac2b6cc969f2a9698Mon Sep 17 00:00:00 2001
From: "Martin K. Petersen" <[email protected]>
Date: Tue, 14 Apr 2015 16:56:23 -0400
Subject: sd: Unregister integrity profile
From: "Martin K. Petersen" <[email protected]>
commit e727c42bd55794765c460b7ac2b6cc969f2a9698 upstream.
The new integrity code did not correctly unregister the profile for SD disks. Call blk_integrity_unregister() when we release a disk.
--- drivers/scsi/sd.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/sd.c +1 -0
@@ -3100,6 +3100,7 @@ static void scsi_disk_release(struct devida_remove (&sd_index_ida, sdkp->index);spin_unlock (&sd_index_lock); +blk_integrity_unregister (disk); disk->private_data =NULL ;put_disk (disk);put_device (&sdkp->device->sdev_gendev);
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/target-file-fix-bug-when-config_debug_sg-y-and-dif-protection-enabled.patch queue-4.0/target-file-fix-unmap-with-dif-protection-support.patch queue-4.0/sd-unregister-integrity-profile.patch queue-4.0/target-file-fix-sg-table-for-prot_buf-initialization.patch queue-4.0/sd-fix-missing-ato-tag-check.patch