Commit 77c6753
committed
nfsd: use locks_inode_context helper
nfsd currently doesn't access i_flctx safely everywhere. This requires a
smp_load_acquire, as the pointer is set via cmpxchg (a release
operation).
Acked-by: Chuck Lever <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>1 parent 17b985d commit 77c6753
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4758 | 4758 | | |
4759 | 4759 | | |
4760 | 4760 | | |
4761 | | - | |
| 4761 | + | |
4762 | 4762 | | |
4763 | 4763 | | |
4764 | 4764 | | |
| |||
5897 | 5897 | | |
5898 | 5898 | | |
5899 | 5899 | | |
5900 | | - | |
| 5900 | + | |
5901 | 5901 | | |
5902 | 5902 | | |
5903 | 5903 | | |
| |||
7713 | 7713 | | |
7714 | 7714 | | |
7715 | 7715 | | |
7716 | | - | |
| 7716 | + | |
7717 | 7717 | | |
7718 | 7718 | | |
7719 | 7719 | | |
| |||
0 commit comments