diff options
| author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-25 22:09:08 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-05 16:36:42 -0700 |
| commit | 96bd3efeed06462bb87d6fdd6d8e66750f294d08 (patch) | |
| tree | c0bc305f7632c936cd455fe4a1854c3d6619b57d /net/lapb/lapb_timer.c | |
| parent | e77da97c5aefbc9828313f3b8da4ac5ee4260e53 (diff) | |
NFSv4: Don't clear the open state when we just did an OPEN_DOWNGRADE
commit 412f6c4c26fb1eba8844290663837561ac53fa6e upstream.
If we did an OPEN_DOWNGRADE, then the right thing to do on success, is
to apply the new open mode to the struct nfs4_state. Instead, we were
unconditionally clearing the state, making it appear to our state
machinery as if we had just performed a CLOSE.
Fixes: 226056c5c312b (NFSv4: Use correct locking when updating nfs4_state...)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
