summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-12-14 20:06:17 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-14 20:06:17 +0100
commit497b5b13c9e946651991e0296374a15d38590ce1 (patch)
treeca525ba5b5cfbb72169c1a5ee5874880acc212e3
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag... (diff)
parentxfs: log timestamp changes to the source inode in rename (diff)
downloadlinux-497b5b13c9e946651991e0296374a15d38590ce1.tar.xz
linux-497b5b13c9e946651991e0296374a15d38590ce1.zip
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs: xfs: log timestamp changes to the source inode in rename
-rw-r--r--fs/xfs/xfs_rename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_rename.c b/fs/xfs/xfs_rename.c
index d2af0a8381a6..77a59891734e 100644
--- a/fs/xfs/xfs_rename.c
+++ b/fs/xfs/xfs_rename.c
@@ -297,6 +297,7 @@ xfs_rename(
* it and some incremental backup programs won't work without it.
*/
xfs_trans_ichgtime(tp, src_ip, XFS_ICHGTIME_CHG);
+ xfs_trans_log_inode(tp, src_ip, XFS_ILOG_CORE);
/*
* Adjust the link count on src_dp. This is necessary when