diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-14 20:06:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-14 20:06:17 +0100 |
commit | 497b5b13c9e946651991e0296374a15d38590ce1 (patch) | |
tree | ca525ba5b5cfbb72169c1a5ee5874880acc212e3 /fs | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag... (diff) | |
parent | xfs: log timestamp changes to the source inode in rename (diff) | |
download | linux-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
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_rename.c | 1 |
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 |