The patch titled knfsd: improve the test for cross-device-rename in nfsd has been added to the -mm tree. Its filename is knfsd-improve-the-test-for-cross-device-rename-in-nfsd.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: improve the test for cross-device-rename in nfsd From: NeilBrown <neilb@xxxxxxx> Just testing the i_sb isn't really enough, at least the vfsmnt must be the same. Thanks Al. Cc: Al Viro <viro@xxxxxxxxxxxxxxxx> Signed-off-by: Neil Brown <neilb@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfsd/vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/nfsd/vfs.c~knfsd-improve-the-test-for-cross-device-rename-in-nfsd fs/nfsd/vfs.c --- a/fs/nfsd/vfs.c~knfsd-improve-the-test-for-cross-device-rename-in-nfsd +++ a/fs/nfsd/vfs.c @@ -1553,7 +1553,7 @@ nfsd_rename(struct svc_rqst *rqstp, stru tdir = tdentry->d_inode; err = (rqstp->rq_vers == 2) ? nfserr_acces : nfserr_xdev; - if (fdir->i_sb != tdir->i_sb) + if (ffhp->fh_export != tfhp->fh_export) goto out; err = nfserr_perm; _ Patches currently in -mm which might be from neilb@xxxxxxx are origin.patch generic_file_buffered_write-deadlock-on-vectored-write.patch knfsd-improve-the-test-for-cross-device-rename-in-nfsd.patch knfsd-fixing-missing-expkey-support-for-fsid-type-3.patch knfsd-remove-noise-about-filehandle-being-uptodate.patch knfsd-ignore-ref_fh-when-crossing-a-mountpoint.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 md-possible-fix-for-unplug-problem.patch md-set-desc_nr-correctly-for-version-1-superblocks.patch md-delay-starting-md-threads-until-array-is-completely-setup.patch md-fix-resync-speed-calculation-for-restarted-resyncs.patch md-fix-a-plug-unplug-race-in-raid5.patch md-fix-some-small-races-in-bitmap-plugging-in-raid5.patch md-fix-usage-of-wrong-variable-in-raid1.patch md-unify-usage-of-symbolic-names-for-perms.patch md-require-cap_sys_admin-for-re-configuring-md-devices-via-sysfs.patch md-fix-will-configure-message-when-interpreting-md=-kernel-parameter.patch md-include-sector-number-in-messages-about-corrected-read-errors.patch md-dm-reduce-stack-usage-with-stacked-block-devices.patch lockdep-annotate-sunrpc-code.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