]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.drivers/libfc-add-fc_disc-c-locking-co.diff
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.drivers / libfc-add-fc_disc-c-locking-co.diff
1 From: Robert Love <robert.w.love@intel.com>
2 Subject: [FcOE] Add fc_disc.c locking comment block
3 References: bnc #459142
4
5 Signed-off-by: Robert Love <robert.w.love@intel.com>
6 Acked-by: Bernhard Walle <bwalle@suse.de>
7 ---
8
9 drivers/scsi/libfc/fc_disc.c | 8 ++++++++
10 1 file changed, 8 insertions(+)
11
12
13 --- a/drivers/scsi/libfc/fc_disc.c
14 +++ b/drivers/scsi/libfc/fc_disc.c
15 @@ -24,6 +24,14 @@
16 * also handles RSCN events and re-discovery if necessary.
17 */
18
19 +/*
20 + * DISC LOCKING
21 + *
22 + * The disc mutex is can be locked when acquiring rport locks, but may not
23 + * be held when acquiring the lport lock. Refer to fc_lport.c for more
24 + * details.
25 + */
26 +
27 #include <linux/timer.h>
28 #include <linux/err.h>
29 #include <asm/unaligned.h>