summaryrefslogtreecommitdiff
path: root/rust/helpers/fs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2025-07-15 11:29:51 -0700
committerTrond Myklebust <trond.myklebust@hammerspace.com>2025-08-05 16:45:40 -0700
commit4ec752ce6debd5a0e7e0febf6bcf780ccda6ab5e (patch)
treec219035e86012c340371c7574b7a1a577b5a07c3 /rust/helpers/fs.c
parentfdd015de767977f21892329af5e12276eb80375f (diff)
NFS/localio: nfs_uuid_put() fix the wake up after unlinking the file
Use store_release_wake_up() instead of wake_up_var_locked(), because the waiter cannot retake the nfs_uuid->lock. Acked-by: Mike Snitzer <snitzer@kernel.org> Tested-by: Mike Snitzer <snitzer@kernel.org> Suggested-by: NeilBrown <neil@brown.name> Link: https://lore.kernel.org/all/175262948827.2234665.1891349021754495573@noble.neil.brown.name/ Fixes: 21fb44034695 ("nfs_localio: protect race between nfs_uuid_put() and nfs_close_local_fh()") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'rust/helpers/fs.c')
0 files changed, 0 insertions, 0 deletions