summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4xdr.c
diff options
context:
space:
mode:
authorMi Jinlong <mijinlong@cn.fujitsu.com>2011-07-14 09:06:26 +0200
committerJ. Bruce Fields <bfields@redhat.com>2011-07-16 01:00:40 +0200
commitab1350b2b3c1dd2e465a6abdda608d8c44facfb8 (patch)
tree18fd3519952c45cc6d3bda7656513265e7ef6435 /fs/nfsd/nfs4xdr.c
parentfs: locks: remove init_once (diff)
downloadlinux-ab1350b2b3c1dd2e465a6abdda608d8c44facfb8.tar.xz
linux-ab1350b2b3c1dd2e465a6abdda608d8c44facfb8.zip
nfsd41: Deny new lock before RECLAIM_COMPLETE done
Before nfs41 client's RECLAIM_COMPLETE done, nfs server should deny any new locks or opens. rfc5661: " Whenever a client establishes a new client ID and before it does the first non-reclaim operation that obtains a lock, it MUST send a RECLAIM_COMPLETE with rca_one_fs set to FALSE, even if there are no locks to reclaim. If non-reclaim locking operations are done before the RECLAIM_COMPLETE, an NFS4ERR_GRACE error will be returned. " Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
0 files changed, 0 insertions, 0 deletions