diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-15 01:34:12 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-19 23:22:47 +0300 |
commit | 56b38a1f7c781519eef09c1668a3c97ea911f86b (patch) | |
tree | b9f1ebb18cf397a61fb38a6cdd6f43243078bc60 /ipc | |
parent | 8487c479e2668dd1231e9c3c77a203d744aec081 (diff) | |
download | linux-56b38a1f7c781519eef09c1668a3c97ea911f86b.tar.xz |
pNFS: Fix post-layoutget error handling in pnfs_update_layout()
The non-retry error path is currently broken and ends up releasing the
reference to the layout twice. It also can end up clearing the
NFS_LAYOUT_FIRST_LAYOUTGET flag twice, causing a race.
In addition, the retry path will fail to decrement the plh_outstanding
counter.
Fixes: 183d9e7b112aa ("pnfs: rework LAYOUTGET retry handling")
Cc: stable@vger.kernel.org # 4.7
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions