From 60705416721abbe7b14e68cb3b515fbeddf39956 Mon Sep 17 00:00:00 2001 From: braam Date: Thu, 13 Jun 2002 23:08:15 +0000 Subject: [PATCH] add intent related update to NFS server. --- lustre/patches/patch-2.4.18-chaos1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lustre/patches/patch-2.4.18-chaos1 b/lustre/patches/patch-2.4.18-chaos1 index b71619f..f87357e 100644 --- a/lustre/patches/patch-2.4.18-chaos1 +++ b/lustre/patches/patch-2.4.18-chaos1 @@ -1336,3 +1336,14 @@ 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); -- 1.8.3.1