aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2025-04-21 14:43:34 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2025-04-28 09:50:50 -0700
commitfa7ab64f1e2fdc8f2603aab8e0dd20de89cb10d9 (patch)
tree6a0f74b5d8c5cab8c8a2c9f95a67922a536620d4 /scripts/lib/kdoc/kdoc_files.py
parentnfs: nfs3acl: drop useless assignment in nfs3_get_acl() (diff)
downloadlinux-rng-fa7ab64f1e2fdc8f2603aab8e0dd20de89cb10d9.tar.xz
linux-rng-fa7ab64f1e2fdc8f2603aab8e0dd20de89cb10d9.zip
NFS/localio: Fix a race in nfs_local_open_fh()
Once the clp->cl_uuid.lock has been dropped, another CPU could come in and free the struct nfsd_file that was just added. To prevent that from happening, take the RCU read lock before dropping the spin lock. Fixes: 86e00412254a ("nfs: cache all open LOCALIO nfsd_file(s) in client") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions