diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-10-04 13:49:12 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-10-04 14:06:54 -0400 |
commit | e8fa33a6f6c7688591542db955794b69b8cecc55 (patch) | |
tree | 7a33cdcf2bfb287eeb0f8550fb3cb490df612dea /fs/dlm/lock.c | |
parent | 0a47df11bfc31e1ceae7f91cea84d3bff500475d (diff) |
NFSv4/pnfs: Fix an infinite layoutget loop
Since we can now use a lock stateid or a delegation stateid, that
differs from the context stateid, we need to change the test in
nfs4_layoutget_handle_exception() to take this into account.
This fixes an infinite layoutget loop in the NFS client whereby
it keeps retrying the initial layoutget using the same broken
stateid.
Fixes: 70d2f7b1ea19b ("pNFS: Use the standard I/O stateid when...")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/dlm/lock.c')
0 files changed, 0 insertions, 0 deletions