diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 7208ada41e0e..3ee8d58e97ad 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -1026,6 +1026,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, | |||
1026 | 1026 | ||
1027 | btrfs_i_size_write(parent_inode, parent_inode->i_size + | 1027 | btrfs_i_size_write(parent_inode, parent_inode->i_size + |
1028 | dentry->d_name.len * 2); | 1028 | dentry->d_name.len * 2); |
1029 | parent_inode->i_mtime = parent_inode->i_ctime = CURRENT_TIME; | ||
1029 | ret = btrfs_update_inode(trans, parent_root, parent_inode); | 1030 | ret = btrfs_update_inode(trans, parent_root, parent_inode); |
1030 | if (ret) | 1031 | if (ret) |
1031 | goto abort_trans_dput; | 1032 | goto abort_trans_dput; |