]>
Commit | Line | Data |
---|---|---|
4d1e5b62 AF |
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> |