]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/libfc-add-fc_disc-c-locking-co.diff
Added missing Xen Kernel Patches which were not commited because
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / libfc-add-fc_disc-c-locking-co.diff
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/libfc-add-fc_disc-c-locking-co.diff b/src/patches/suse-2.6.27.31/patches.drivers/libfc-add-fc_disc-c-locking-co.diff
new file mode 100644 (file)
index 0000000..5da8021
--- /dev/null
@@ -0,0 +1,29 @@
+From: Robert Love <robert.w.love@intel.com>
+Subject: [FcOE] Add fc_disc.c locking comment block
+References: bnc #459142
+
+Signed-off-by: Robert Love <robert.w.love@intel.com>
+Acked-by: Bernhard Walle <bwalle@suse.de>
+---
+
+ drivers/scsi/libfc/fc_disc.c |    8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+
+--- a/drivers/scsi/libfc/fc_disc.c
++++ b/drivers/scsi/libfc/fc_disc.c
+@@ -24,6 +24,14 @@
+  * also handles RSCN events and re-discovery if necessary.
+  */
++/*
++ * DISC LOCKING
++ *
++ * The disc mutex is can be locked when acquiring rport locks, but may not
++ * be held when acquiring the lport lock. Refer to fc_lport.c for more
++ * details.
++ */
++
+ #include <linux/timer.h>
+ #include <linux/err.h>
+ #include <asm/unaligned.h>