diff options
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r-- | fs/btrfs/qgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 13e28d8a7d42..3a83631c1176 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c | |||
@@ -571,7 +571,7 @@ static int add_qgroup_item(struct btrfs_trans_handle *trans, | |||
571 | struct extent_buffer *leaf; | 571 | struct extent_buffer *leaf; |
572 | struct btrfs_key key; | 572 | struct btrfs_key key; |
573 | 573 | ||
574 | if (btrfs_test_is_dummy_root(quota_root)) | 574 | if (btrfs_is_testing(quota_root->fs_info)) |
575 | return 0; | 575 | return 0; |
576 | 576 | ||
577 | path = btrfs_alloc_path(); | 577 | path = btrfs_alloc_path(); |
@@ -728,7 +728,7 @@ static int update_qgroup_info_item(struct btrfs_trans_handle *trans, | |||
728 | int ret; | 728 | int ret; |
729 | int slot; | 729 | int slot; |
730 | 730 | ||
731 | if (btrfs_test_is_dummy_root(root)) | 731 | if (btrfs_is_testing(root->fs_info)) |
732 | return 0; | 732 | return 0; |
733 | 733 | ||
734 | key.objectid = 0; | 734 | key.objectid = 0; |