summaryrefslogtreecommitdiff
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-10-21 20:56:59 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-11-04 05:28:46 +0300
commitee05f456772d4e3a04b539187473f50c394da5fa (patch)
tree28542a5f414085abaf9a6dc9560e586d1a71b9ad /fs/timerfd.c
parent42c304c34e2d2c73d301b222418ac019918a1c59 (diff)
downloadlinux-ee05f456772d4e3a04b539187473f50c394da5fa.tar.xz
NFSv4: Fix races between open and delegreturn
If the server returns the same delegation in an open that we just used in a delegreturn, we need to ensure we don't apply that stateid if the delegreturn has freed it on the server. To do so, we ensure that we do not free the storage for the delegation until either it is replaced by a new one, or we throw the inode out of cache. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions