* Patch "sd: Unregister integrity profile" has been added to the 3.19-stable tree
@ 2015-05-02 16:55 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-05-02 16:55 UTC (permalink / raw)
To: martin.petersen, JBottomley, gregkh, sagig, sagig; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
sd: Unregister integrity profile
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-unregister-integrity-profile.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 <stable@vger.kernel.org> know about it.
>From e727c42bd55794765c460b7ac2b6cc969f2a9698 Mon Sep 17 00:00:00 2001
From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: Tue, 14 Apr 2015 16:56:23 -0400
Subject: sd: Unregister integrity profile
From: "Martin K. Petersen" <martin.petersen@oracle.com>
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.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reported-by: Sagi Grimberg <sagig@dev.mellanox.co.il>
Tested-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/scsi/sd.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -3100,6 +3100,7 @@ static void scsi_disk_release(struct dev
ida_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 martin.petersen@oracle.com 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-02 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02 16:55 Patch "sd: Unregister integrity profile" has been added to the 3.19-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.