diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/qgroup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index bf0702a865f8..5d1d75611745 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c | |||
@@ -2154,6 +2154,10 @@ int btrfs_run_qgroups(struct btrfs_trans_handle *trans, | |||
2154 | if (ret) | 2154 | if (ret) |
2155 | fs_info->qgroup_flags |= | 2155 | fs_info->qgroup_flags |= |
2156 | BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT; | 2156 | BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT; |
2157 | ret = update_qgroup_limit_item(trans, quota_root, qgroup); | ||
2158 | if (ret) | ||
2159 | fs_info->qgroup_flags |= | ||
2160 | BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT; | ||
2157 | spin_lock(&fs_info->qgroup_lock); | 2161 | spin_lock(&fs_info->qgroup_lock); |
2158 | } | 2162 | } |
2159 | if (fs_info->quota_enabled) | 2163 | if (fs_info->quota_enabled) |