diff options
author | 2025-04-21 14:43:34 -0400 | |
---|---|---|
committer | 2025-04-28 09:50:50 -0700 | |
commit | fa7ab64f1e2fdc8f2603aab8e0dd20de89cb10d9 (patch) | |
tree | 6a0f74b5d8c5cab8c8a2c9f95a67922a536620d4 /scripts/lib/kdoc/kdoc_files.py | |
parent | nfs: nfs3acl: drop useless assignment in nfs3_get_acl() (diff) | |
download | linux-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