Trond Myklebust 586ae5694e pNFS: Always free the session slot on error in nfs4_layoutget_handle_exception
[ Upstream commit 2dbf8dffbf35fd8f611083b9d9fe74fdccf912a3 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:09:01 +02:00
..
2018-07-08 15:30:51 +02:00
2018-08-03 07:50:24 +02:00
2018-07-17 11:39:26 +02:00
2018-05-30 07:52:35 +02:00
2018-07-03 11:25:03 +02:00
2018-06-05 11:41:54 +02:00
2017-09-04 19:05:15 -04:00
2018-05-16 10:10:25 +02:00