]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Replace closed stateids with the "invalid special stateid"
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 7 Nov 2017 17:39:44 +0000 (12:39 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Nov 2017 21:43:49 +0000 (16:43 -0500)
commit2a8f25657c0399ea5196ab9e38464fbdc8ea8fa7
tree8bc7b1ac5cc81bb49eb172cd6c79e5b71859c0bd
parent3a2032070ea9c092becf99c7453f2c3fe594adc8
NFSv4: Replace closed stateids with the "invalid special stateid"

When decoding a CLOSE, replace the stateid returned by the server
with the "invalid special stateid" described in RFC5661, Section 8.2.3.

In nfs_set_open_stateid_locked, ignore stateids from closed state.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c
fs/nfs/nfs4xdr.c