summaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2018-06-15 15:58:45 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-06-19 08:52:27 -0400
commit2dbf8dffbf35fd8f611083b9d9fe74fdccf912a3 (patch)
tree6117410c8eb22dd08dc0edb20fbea61a14a6bc16 /fs/nfs/delegation.c
parentd5681f59ee3d4a2e60b9234e94c163cbbf559d0a (diff)
downloadlinux-2dbf8dffbf35fd8f611083b9d9fe74fdccf912a3.tar.bz2
pNFS: Always free the session slot on error in nfs4_layoutget_handle_exception
Right now, we can call nfs_commit_inode() while holding the session slot, which could lead to NFSv4 deadlocks. Ensure we only keep the slot if the server returned a layout that we have to process. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/delegation.c')
0 files changed, 0 insertions, 0 deletions