summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-12-14 11:06:17 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-14 11:06:17 -0800
commit497b5b13c9e946651991e0296374a15d38590ce1 (patch)
treeca525ba5b5cfbb72169c1a5ee5874880acc212e3 /fs
parente97b71ded9ebe527681961c9e6f5ba99f6711974 (diff)
parent05340d4ab2ec2b6b4962c1c41c6ea8fb550f947b (diff)
downloadlinux-3.10-497b5b13c9e946651991e0296374a15d38590ce1.tar.gz
linux-3.10-497b5b13c9e946651991e0296374a15d38590ce1.tar.bz2
linux-3.10-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
Diffstat (limited to 'fs')
-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 d2af0a8381a..77a59891734 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