aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorBenjamin Coddington <[email protected]>2023-01-27 16:18:56 +0000
committerChuck Lever <[email protected]>2023-02-20 14:20:56 +0000
commitfb610c4dbc996415d57d7090957ecddd4fd64fb6 (patch)
treeb9b27de4fd19e6247483b6392db7c463c454cfd9 /tools/perf/scripts/python/stat-cpi.py
parentnfsd: don't hand out delegation on setuid files being opened for write (diff)
downloadkernel-fb610c4dbc996415d57d7090957ecddd4fd64fb6.tar.gz
kernel-fb610c4dbc996415d57d7090957ecddd4fd64fb6.zip
nfsd: fix race to check ls_layouts
Its possible for __break_lease to find the layout's lease before we've added the layout to the owner's ls_layouts list. In that case, setting ls_recalled = true without actually recalling the layout will cause the server to never send a recall callback. Move the check for ls_layouts before setting ls_recalled. Fixes: c5c707f96fc9 ("nfsd: implement pNFS layout recalls") Signed-off-by: Benjamin Coddington <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions