diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-11-16 09:55:36 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@kernel.org> | 2022-11-30 05:08:10 -0500 |
commit | 17b985def2a859d66d27afee442147468a6a4ea6 (patch) | |
tree | 154c88c226a8edb3b61506296725abfd897b5ac8 /fs/nfsd/nfs4state.c | |
parent | 98b41ffe0afdfeaa1439a5d6bd2db4a94277e31b (diff) |
nfs: use locks_inode_context helper
nfs currently doesn't access i_flctx safely. This requires a
smp_load_acquire, as the pointer is set via cmpxchg (a release
operation).
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <anna@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
0 files changed, 0 insertions, 0 deletions