diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index bcf303204f7f..98ee139885cc 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -7478,7 +7478,7 @@ int btrfs_drop_dead_reloc_roots(struct btrfs_root *root) | |||
7478 | BUG_ON(reloc_root->commit_root != NULL); | 7478 | BUG_ON(reloc_root->commit_root != NULL); |
7479 | while (1) { | 7479 | while (1) { |
7480 | trans = btrfs_join_transaction(root, 1); | 7480 | trans = btrfs_join_transaction(root, 1); |
7481 | BUG_ON(!trans); | 7481 | BUG_ON(IS_ERR(trans)); |
7482 | 7482 | ||
7483 | mutex_lock(&root->fs_info->drop_mutex); | 7483 | mutex_lock(&root->fs_info->drop_mutex); |
7484 | ret = btrfs_drop_snapshot(trans, reloc_root); | 7484 | ret = btrfs_drop_snapshot(trans, reloc_root); |