Fork of reMarkable kernel https://github.com/reMarkable/linux
Go to file
Chris Mason a7a16fd772 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: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:04:04 -04:00
fs/btrfs Btrfs: Fix deadlock while searching for dead roots on mount 2008-09-25 11:04:04 -04:00