Commit 621a41a
cifs: add missing spinlock around tcon refcount
Add missing spinlock to protect updates on tcon refcount in
cifs_put_tcon().
Fixes: d7d7a66 ("cifs: avoid use of global locks for high contention data")
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent bedc8f7 commit 621a41a
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2345 | 2345 | | |
2346 | 2346 | | |
2347 | 2347 | | |
| 2348 | + | |
2348 | 2349 | | |
| 2350 | + | |
2349 | 2351 | | |
2350 | 2352 | | |
2351 | 2353 | | |
| |||
2354 | 2356 | | |
2355 | 2357 | | |
2356 | 2358 | | |
| 2359 | + | |
2357 | 2360 | | |
2358 | 2361 | | |
2359 | 2362 | | |
| |||
0 commit comments