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..99c5893d287b 100644
- --- a/fs/btrfs/volumes.c
- +++ b/fs/btrfs/volumes.c
- @@ -4439,6 +4439,7 @@ int btrfs_uuid_scan_kthread(void *data)
- read_extent_buffer(eb, &root_item,
- btrfs_item_ptr_offset(eb, slot),
- (int)sizeof(root_item));
- + btrfs_release_path(path);
- if (btrfs_root_refs(&root_item) == 0)
- goto skip;
- @@ -4447,7 +4448,6 @@ int btrfs_uuid_scan_kthread(void *data)
- if (trans)
- goto update_tree;
- - btrfs_release_path(path);
- /*
- * 1 - subvol uuid item
- * 1 - received_subvol uuid item
- @@ -4493,7 +4493,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