summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-08-21 15:32:50 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-01-07 16:01:15 -0500
commit41ae6e714a6c25a9932d32a323e8c87f6bac4037 (patch)
treea28592e8641e3d02aaf73292cc1c0cdaa5f67975 /fs
parent208d0acc49cbf22a71d32b40a69e199717a76687 (diff)
downloadop-kernel-dev-41ae6e714a6c25a9932d32a323e8c87f6bac4037.zip
op-kernel-dev-41ae6e714a6c25a9932d32a323e8c87f6bac4037.tar.gz
nfsd4: better VERIFY comment
This confuses me every time. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4proc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 41e34df..dadff09 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1069,8 +1069,10 @@ _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
cstate->current_fh.fh_dentry, &p,
count, verify->ve_bmval,
rqstp, 0);
-
- /* this means that nfsd4_encode_fattr() ran out of space */
+ /*
+ * If nfsd4_encode_fattr() ran out of space, assume that's because
+ * the attributes are longer (hence different) than those given:
+ */
if (status == nfserr_resource)
status = nfserr_not_same;
if (status)
OpenPOWER on IntegriCloud