]> 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)
commitfcd8843c406b46433857ae45e5e9d84b01a7d20b
tree8bc7b1ac5cc81bb49eb172cd6c79e5b71859c0bd
parente1fff5df6e04818c711882d40f06e97891bca36e
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