|
@@ -2151,6 +2151,10 @@ int btrfs_run_qgroups(struct btrfs_trans_handle *trans,
|
|
list_del_init(&qgroup->dirty);
|
|
list_del_init(&qgroup->dirty);
|
|
spin_unlock(&fs_info->qgroup_lock);
|
|
spin_unlock(&fs_info->qgroup_lock);
|
|
ret = update_qgroup_info_item(trans, quota_root, qgroup);
|
|
ret = update_qgroup_info_item(trans, quota_root, qgroup);
|
|
|
|
+ if (ret)
|
|
|
|
+ fs_info->qgroup_flags |=
|
|
|
|
+ BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT;
|
|
|
|
+ ret = update_qgroup_limit_item(trans, quota_root, qgroup);
|
|
if (ret)
|
|
if (ret)
|
|
fs_info->qgroup_flags |=
|
|
fs_info->qgroup_flags |=
|
|
BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT;
|
|
BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT;
|