Btrfs: fix wrong mtime and ctime when creating snapshots
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 9 Aug 2012 03:39:36 +0000 (21:39 -0600)
committerChris Mason <chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:36 +0000 (16:53 -0400)
commitc0f62dedd04ae0f3b8a18079db5a015af24e416f
treea4a3fad53c3a84034e880d923d4dfbbd648cf668
parent22cd2e7de7b0bd68fb668d23e1564707ca689510
Btrfs: fix wrong mtime and ctime when creating snapshots

When we created a new snapshot, the mtime and ctime of its parent directory
were not updated. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/transaction.c