Skip to content
Snippets Groups Projects
Commit 2dbf8dff authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent d5681f59
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment