The patch titled knfsd: nfsd4: remove superfluous grace period checks has been added to the -mm tree. Its filename is knfsd-nfsd4-remove-superfluous-grace-period-checks.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: knfsd: nfsd4: remove superfluous grace period checks From: J. Bruce Fields <bfields@xxxxxxxxxxxxxx> We're checking nfs_in_grace here a few times when there isn't really any reason to--bad_stateid is probably the more sensible return value anyway. Signed-off-by: J. Bruce Fields <bfields@xxxxxxxxxxxxxx> Signed-off-by: Neil Brown <neilb@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfsd/nfs4state.c | 4 ---- 1 file changed, 4 deletions(-) diff -puN fs/nfsd/nfs4state.c~knfsd-nfsd4-remove-superfluous-grace-period-checks fs/nfsd/nfs4state.c --- a/fs/nfsd/nfs4state.c~knfsd-nfsd4-remove-superfluous-grace-period-checks +++ a/fs/nfsd/nfs4state.c @@ -2070,16 +2070,12 @@ nfs4_preprocess_stateid_op(struct svc_fh if (!stateid->si_fileid) { /* delegation stateid */ if(!(dp = find_delegation_stateid(ino, stateid))) { dprintk("NFSD: delegation stateid not found\n"); - if (nfs4_in_grace()) - status = nfserr_grace; goto out; } stidp = &dp->dl_stateid; } else { /* open or lock stateid */ if (!(stp = find_stateid(stateid, flags))) { dprintk("NFSD: open or lock stateid not found\n"); - if (nfs4_in_grace()) - status = nfserr_grace; goto out; } if ((flags & CHECK_FH) && nfs4_check_fh(current_fh, stp)) _ Patches currently in -mm which might be from bfields@xxxxxxxxxxxxxx are origin.patch knfsd-nfsd4-fix-open_confirm-locking.patch knfsd-nfsd-call-nfsd_setuser-on-fh_compose-fix-nfsd4-permissions-problem.patch knfsd-nfsd4-remove-superfluous-grace-period-checks.patch knfsd-nfsd-fix-misplaced-fh_unlock-in-nfsd_link.patch knfsd-svcrpc-gss-simplify-rsc_parse.patch knfsd-nfsd4-fix-some-open-argument-tests.patch knfsd-nfsd4-fix-open-flag-passing.patch knfsd-svcrpc-simplify-nfsd-rpcsec_gss-integrity-code.patch knfsd-nfsd-mark-rqstp-to-prevent-use-of-sendfile-in-privacy-case.patch knfsd-svcrpc-gss-server-side-implementation-of-rpcsec_gss-privacy.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html