|
@@ -1603,7 +1603,7 @@ int btrfs_qgroup_trace_subtree(struct btrfs_trans_handle *trans,
|
|
|
struct extent_buffer *eb = root_eb;
|
|
struct extent_buffer *eb = root_eb;
|
|
|
struct btrfs_path *path = NULL;
|
|
struct btrfs_path *path = NULL;
|
|
|
|
|
|
|
|
- BUG_ON(root_level < 0 || root_level > BTRFS_MAX_LEVEL);
|
|
|
|
|
|
|
+ BUG_ON(root_level < 0 || root_level >= BTRFS_MAX_LEVEL);
|
|
|
BUG_ON(root_eb == NULL);
|
|
BUG_ON(root_eb == NULL);
|
|
|
|
|
|
|
|
if (!test_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags))
|
|
if (!test_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags))
|