Commit 213cbad
nvmet: lock config semaphore when accessing DH-HMAC-CHAP key
When the DH-HMAC-CHAP key is accessed via configfs we need to take the
config semaphore as a reconnect might be running at the same time.
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>1 parent 6ad0d7e commit 213cbad
2 files changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1990 | 1990 | | |
1991 | 1991 | | |
1992 | 1992 | | |
1993 | | - | |
| 1993 | + | |
| 1994 | + | |
1994 | 1995 | | |
| 1996 | + | |
| 1997 | + | |
1995 | 1998 | | |
1996 | | - | |
1997 | | - | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
1998 | 2004 | | |
1999 | 2005 | | |
2000 | 2006 | | |
| |||
2018 | 2024 | | |
2019 | 2025 | | |
2020 | 2026 | | |
| 2027 | + | |
2021 | 2028 | | |
| 2029 | + | |
| 2030 | + | |
2022 | 2031 | | |
2023 | | - | |
2024 | | - | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
2025 | 2037 | | |
2026 | 2038 | | |
2027 | 2039 | | |
| |||
0 commit comments