Commit 30a73993 authored by Trond Myklebust's avatar Trond Myklebust Committed by Greg Kroah-Hartman
Browse files

NFS: Fix wakeup of __nfs_lookup_revalidate() in unblock_revalidate()



[ Upstream commit 1db3a48e ]

Use store_release_wake_up() to add the appropriate memory barrier before
calling wake_up_var(&dentry->d_fsdata).

Reported-by: default avatarLukáš <Hejtmánek&lt;xhejtman@ics.muni.cz>
Suggested-by: default avatarSantosh Pradhan <santosh.pradhan@gmail.com>
Link: https://lore.kernel.org/all/18945D18-3EDB-4771-B019-0335CE671077@ics.muni.cz/


Fixes: 99bc9f2e ("NFS: add barriers when testing for NFS_FSDATA_BLOCKED")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 14721603
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment