summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-11-16 09:36:07 -0500
committerJeff Layton <jlayton@kernel.org>2022-11-30 05:08:10 -0500
commit77c67530e1f95ac25c7075635f32f04367380894 (patch)
treed148108a11ebbfa2d3fbc7e6a47e05fa79209a51 /fs/locks.c
parent17b985def2a859d66d27afee442147468a6a4ea6 (diff)
downloadlinux-77c67530e1f95ac25c7075635f32f04367380894.tar.gz
linux-77c67530e1f95ac25c7075635f32f04367380894.tar.bz2
linux-77c67530e1f95ac25c7075635f32f04367380894.zip
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 <chuck.lever@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions