[XFS] Don't update mtime on rename source
authorChristoph Hellwig <hch@infradead.org>
Fri, 27 Jun 2008 03:34:26 +0000 (13:34 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:59:14 +0000 (16:59 +1000)
commit8f8670bb1cfa177d35c54e4cc96152dc425a7ab3
tree677c7b6801ac0b1307966df96470aa27cee78441
parent313b5c767a044c7a0db5e773cb7aea70383b2627
[XFS] Don't update mtime on rename source

As reported by Michael-John Turner XFS updates the mtime on the source
inode of a rename call in case it's a directory and changes the parent.

This doesn't make any sense, is not mentioned in the standards and not
performed by any other Linux filesystems so remove it.

SGI-PV: 983684

SGI-Modid: xfs-linux-melb:xfs-kern:31364a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_rename.c