summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/stats.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-11-03 08:00:16 -0400
committerJ. Bruce Fields <bfields@redhat.com>2017-11-27 16:45:10 -0500
commit03da3169c67f67729d8b52cee4e5689b0a3f94c0 (patch)
tree3298b80d391fa2ac9e082534850ba7d3a925cdc3 /fs/nfsd/stats.h
parent9271d7e509c1bfc0b9a418caec29ec8d1ac38270 (diff)
downloadlinux-03da3169c67f67729d8b52cee4e5689b0a3f94c0.tar.gz
linux-03da3169c67f67729d8b52cee4e5689b0a3f94c0.tar.bz2
linux-03da3169c67f67729d8b52cee4e5689b0a3f94c0.zip
nfsd: Fix races with check_stateid_generation()
The various functions that call check_stateid_generation() in order to compare a client-supplied stateid with the nfs4_stid state, usually need to atomically check for closed state. Those that perform the check after locking the st_mutex using nfsd4_lock_ol_stateid() should now be OK, but we do want to fix up the others. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/stats.h')
0 files changed, 0 insertions, 0 deletions