ext3: fix update of mtime and ctime on rename
authorJan Kara <jack@suse.cz>
Mon, 28 Apr 2008 09:16:12 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:44 +0000 (08:58 -0700)
commit0b23076988b44b2c165e060248345de6f2337387
treef707484c03bf148eac8c51b92b3c1eaa44996792
parent5b9a499d77e9dd39c9e6611ea10c56a31604f274
ext3: fix update of mtime and ctime on rename

Make ext3 update mtime and ctime of the directory into which we move file even
if the directory entry already exists.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/namei.c