Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
- index d7670e2a9f39..41e610991e85 100644
- --- a/fs/btrfs/volumes.c
- +++ b/fs/btrfs/volumes.c
- @@ -4442,12 +4442,13 @@ int btrfs_uuid_scan_kthread(void *data)
- if (btrfs_root_refs(&root_item) == 0)
- goto skip;
- + btrfs_release_path(path);
- +
- if (!btrfs_is_empty_uuid(root_item.uuid) ||
- !btrfs_is_empty_uuid(root_item.received_uuid)) {
- if (trans)
- goto update_tree;
- - btrfs_release_path(path);
- /*
- * 1 - subvol uuid item
- * 1 - received_subvol uuid item
- @@ -4493,7 +4494,6 @@ int btrfs_uuid_scan_kthread(void *data)
- break;
- }
- - btrfs_release_path(path);
- if (key.offset < (u64)-1) {
- key.offset++;
- } else if (key.type < BTRFS_ROOT_ITEM_KEY) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement