From: J. Bruce Fields Date: Wed, 21 Aug 2013 19:32:50 +0000 (-0400) Subject: nfsd4: better VERIFY comment X-Git-Tag: v3.14-rc1~44^2~11 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=41ae6e714a6c25a9932d32a323e8c87f6bac4037;p=linux-block.git nfsd4: better VERIFY comment This confuses me every time. Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 41e34dfd4e5f..dadff09b0b0c 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)