1 Index: linux-2.6.16.54-0.2.5/include/linux/ext3_fs.h
2 ===================================================================
3 --- linux-2.6.16.54-0.2.5.orig/include/linux/ext3_fs.h
4 +++ linux-2.6.16.54-0.2.5/include/linux/ext3_fs.h
5 @@ -913,6 +913,13 @@ struct mmp_struct {
6 #define EXT3_MMP_MIN_CHECK_INTERVAL 5
9 + * Indicates that ctime should not be updated in ext3_xattr_set_handle()
11 +#ifndef XATTR_NO_CTIME
12 +#define XATTR_NO_CTIME 0x80
19 Index: linux-2.6.16.54-0.2.5/fs/ext3/xattr.c
20 ===================================================================
21 --- linux-2.6.16.54-0.2.5.orig/fs/ext3/xattr.c
22 +++ linux-2.6.16.54-0.2.5/fs/ext3/xattr.c
23 @@ -1030,8 +1030,8 @@ ext3_xattr_set_handle(handle_t *handle,
26 ext3_xattr_update_super_block(handle, inode->i_sb);
27 - inode->i_ctime = ext3_current_time(inode);
29 + if (!(flags & XATTR_NO_CTIME))
30 + inode->i_ctime = ext3_current_time(inode);
31 error = ext3_mark_iloc_dirty(handle, inode, &is.iloc);
33 EXT3_I(inode)->i_state &= ~EXT3_STATE_NO_EXPAND;