summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/hfsplus/xattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c
index 31b6cb9db770..a824bcaac172 100644
--- a/fs/hfsplus/xattr.c
+++ b/fs/hfsplus/xattr.c
@@ -410,6 +410,8 @@ int __hfsplus_setxattr(struct inode *inode, const char *name,
goto end_setxattr;
}
+ inode_set_ctime_current(inode);
+
end_setxattr:
hfs_find_exit(&cat_fd);
hfs_dbg("finished: res %d\n", err);
@@ -895,6 +897,8 @@ static int hfsplus_removexattr(struct inode *inode, const char *name)
goto end_removexattr;
}
+ inode_set_ctime_current(inode);
+
end_removexattr:
hfs_find_exit(&cat_fd);