]> 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)
commit49e00b65fdf5cf2d75efde12f647e7f8ee86afee
tree8bc7b1ac5cc81bb49eb172cd6c79e5b71859c0bd
parent554d3e5583daf9864015bb1e6d2a0bac30343b05
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