From: Mi Jinlong Date: Thu, 14 Jul 2011 07:06:26 +0000 (+0800) Subject: nfsd41: Deny new lock before RECLAIM_COMPLETE done X-Git-Tag: v3.1-rc1~239^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab1350b2b3c1dd2e465a6abdda608d8c44facfb8;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed