X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fext4-xattr-no-update-ctime-sles11.patch;fp=ldiskfs%2Fkernel_patches%2Fpatches%2Fext4-xattr-no-update-ctime-sles11.patch;h=0000000000000000000000000000000000000000;hb=8e0cd0b9f8cceae10d64c9fed0c59e95789542c1;hp=66de9df57fe974df7ca89213e4b4b6379102f0b9;hpb=befe9c673b23ef4f776615d9a6de12ad8b65bbcf;p=fs%2Flustre-release.git diff --git a/ldiskfs/kernel_patches/patches/ext4-xattr-no-update-ctime-sles11.patch b/ldiskfs/kernel_patches/patches/ext4-xattr-no-update-ctime-sles11.patch deleted file mode 100644 index 66de9df..0000000 --- a/ldiskfs/kernel_patches/patches/ext4-xattr-no-update-ctime-sles11.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: linux-2.6.18.i386/fs/ext4/ext4.h -=================================================================== ---- linux-2.6.18.i386.orig/fs/ext4/ext4.h -+++ linux-2.6.18.i386/fs/ext4/ext4.h -@@ -995,6 +995,13 @@ struct mmp_struct { - extern struct proc_dir_entry *proc_root_ext4; - - /* -+ * Indicates that ctime should not be updated in ext4_xattr_set_handle() -+ */ -+#ifndef XATTR_NO_CTIME -+#define XATTR_NO_CTIME 0x80 -+#endif -+ -+/* - * Function prototypes - */ - -Index: linux-2.6.18.i386/fs/ext4/xattr.c -=================================================================== ---- linux-2.6.18.i386.orig/fs/ext4/xattr.c -+++ linux-2.6.18.i386/fs/ext4/xattr.c -@@ -1026,7 +1026,8 @@ ext4_xattr_set_handle(handle_t *handle, - } - if (!error) { - ext4_xattr_update_super_block(handle, inode->i_sb); -- inode->i_ctime = ext4_current_time(inode); -+ if (!(flags & XATTR_NO_CTIME)) -+ inode->i_ctime = ext4_current_time(inode); - if (!value) - EXT4_I(inode)->i_state &= ~EXT4_STATE_NO_EXPAND; - error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);