diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-11-06 23:28:03 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-11-18 00:43:46 +0300 |
commit | 8fd1ab747d2b1ec7ec663ad0b41a32eaa35117a8 (patch) | |
tree | 48a5f6f1957ca770582a6dcba379a6cb769579ee /fs/nfs/nfs4state.c | |
parent | ad9e02dc026b75069f6a336e0daf2d54925967b6 (diff) | |
download | linux-8fd1ab747d2b1ec7ec663ad0b41a32eaa35117a8.tar.xz |
NFSv4: Fix open create exclusive when the server reboots
If the server that does not implement NFSv4.1 persistent session
semantics reboots while we are performing an exclusive create,
then the return value of NFS4ERR_DELAY when we replay the open
during the grace period causes us to lose the verifier.
When the grace period expires, and we present a new verifier,
the server will then correctly reply NFS4ERR_EXIST.
This commit ensures that we always present the same verifier when
replaying the OPEN.
Reported-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
0 files changed, 0 insertions, 0 deletions