From ff2e38c29a06e208d9c5ca98c095cbfb26e5e635 Mon Sep 17 00:00:00 2001
From: kalpak <kalpak>
Date: Sat, 19 Jul 2008 13:24:11 +0000
Subject: [PATCH] b=16199   i=adilger   i=girish

  ctime should not be updated through filter_set_md()
---
 lustre/lvfs/fsfilt_ext3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c
index 78ea86744a..192840fbe4 100644
--- a/lustre/lvfs/fsfilt_ext3.c
+++ b/lustre/lvfs/fsfilt_ext3.c
@@ -566,7 +566,7 @@ static int fsfilt_ext3_set_md(struct inode *inode, void *handle,
         LASSERT(TRYLOCK_INODE_MUTEX(inode) == 0);
 
         rc = ext3_xattr_set_handle(handle, inode, EXT3_XATTR_INDEX_TRUSTED,
-                                   name, lmm, lmm_size, 0);
+                                   name, lmm, lmm_size, XATTR_NO_CTIME);
 
 
         if (rc && rc != -EROFS)
-- 
GitLab