nfsd4: better VERIFY comment
[firefly-linux-kernel-4.4.55.git] / fs / nfsd / nfs4proc.c
index 41e34dfd4e5f20cb8f48b182420dc16d2c0006ba..dadff09b0b0cad3dd817d661ef8bbf34532eb13a 100644 (file)
@@ -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)