Whamcloud - gitweb
add intent related update to NFS server.
authorbraam <braam>
Thu, 13 Jun 2002 23:08:15 +0000 (23:08 +0000)
committerbraam <braam>
Thu, 13 Jun 2002 23:08:15 +0000 (23:08 +0000)
lustre/patches/patch-2.4.18-chaos1

index b71619f..f87357e 100644 (file)
                error = -EINVAL;
                if (inode->i_op && inode->i_op->readlink &&
                    !(error = do_revalidate(nd.dentry))) {
+--- kernel-rh-2.4.18/fs/nfsd/vfs.c.orig-lustre Thu Jun 13 15:28:25 2002
++++ kernel-rh-2.4.18/fs/nfsd/vfs.c     Thu Jun 13 15:28:40 2002
+@@ -1285,7 +1285,7 @@
+                       err = nfserr_perm;
+       } else
+ #endif
+-      err = vfs_rename(fdir, odentry, tdir, ndentry);
++      err = vfs_rename(fdir, odentry, tdir, ndentry, NULL);
+       if (!err && EX_ISSYNC(tfhp->fh_export)) {
+               nfsd_sync_dir(tdentry);
+               nfsd_sync_dir(fdentry);