Skip to content
Commit a7a16fd7 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Fix deadlock while searching for dead roots on mount



btrfs_find_dead_roots called btrfs_read_fs_root_no_radix, which
means we end up calling btrfs_search_slot with a path already held.

The fix is to remember the key inside btrfs_find_dead_roots and drop
the path.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent f9efa9c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment