btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()
[linux-2.6-microblaze.git] / fs / btrfs / qgroup.c
index cfe3661..0443312 100644 (file)
@@ -2861,8 +2861,6 @@ int btrfs_qgroup_account_extent(struct btrfs_trans_handle *trans, u64 bytenr,
        if (nr_old_roots == 0 && nr_new_roots == 0)
                goto out_free;
 
-       BUG_ON(!fs_info->quota_root);
-
        trace_btrfs_qgroup_account_extent(fs_info, trans->transid, bytenr,
                                        num_bytes, nr_old_roots, nr_new_roots);