diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-09-12 22:40:22 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-09-17 22:33:13 +0200 |
commit | 3b3e7b72239a748f516d6aee8c12df48d50e2d7e (patch) | |
tree | 7ff017c72c4fb3f94fe18f22971023b881655b04 /fs/pnode.h | |
parent | nfsd: remove redundant boot_time parm from grace_done client tracking op (diff) | |
download | linux-3b3e7b72239a748f516d6aee8c12df48d50e2d7e.tar.xz linux-3b3e7b72239a748f516d6aee8c12df48d50e2d7e.zip |
nfsd: reject reclaim request when client has already sent RECLAIM_COMPLETE
As stated in RFC 5661, section 18.51.3:
Once a RECLAIM_COMPLETE is done, there can be no further reclaim
operations for locks whose scope is defined as having completed
recovery. Once the client sends RECLAIM_COMPLETE, the server will
not allow the client to do subsequent reclaims of locking state for
that scope and, if these are attempted, will return
NFS4ERR_NO_GRACE.
Ensure that we enforce that requirement.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions