diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index d5ac0d8ee3c9..4c2870e2d12f 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -1539,7 +1539,7 @@ static int dirty_and_release_pages(struct btrfs_trans_handle *trans, | |||
1539 | kunmap(pages[i]); | 1539 | kunmap(pages[i]); |
1540 | } | 1540 | } |
1541 | SetPageChecked(pages[i]); | 1541 | SetPageChecked(pages[i]); |
1542 | btrfs_update_inode_block_group(trans, inode); | 1542 | // btrfs_update_inode_block_group(trans, inode); |
1543 | ret = btrfs_end_transaction(trans, root); | 1543 | ret = btrfs_end_transaction(trans, root); |
1544 | BUG_ON(ret); | 1544 | BUG_ON(ret); |
1545 | mutex_unlock(&root->fs_info->fs_mutex); | 1545 | mutex_unlock(&root->fs_info->fs_mutex); |
@@ -1914,7 +1914,7 @@ static ssize_t btrfs_file_write(struct file *file, const char __user *buf, | |||
1914 | } | 1914 | } |
1915 | BUG_ON(ret); | 1915 | BUG_ON(ret); |
1916 | alloc_extent_start = ins.objectid; | 1916 | alloc_extent_start = ins.objectid; |
1917 | btrfs_update_inode_block_group(trans, inode); | 1917 | // btrfs_update_inode_block_group(trans, inode); |
1918 | ret = btrfs_end_transaction(trans, root); | 1918 | ret = btrfs_end_transaction(trans, root); |
1919 | mutex_unlock(&root->fs_info->fs_mutex); | 1919 | mutex_unlock(&root->fs_info->fs_mutex); |
1920 | 1920 | ||