commit | a7a16fd772620605c76e8ac8bdbc8ccc9e3df1a0 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Thu Jun 26 10:34:20 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:04 2008 -0400 |
tree | 5dc173d7653ba4819ce1c853b9e84293422edf90 | |
parent | f9efa9c784aa3b801feb367f72c6867d26fb348e [diff] |
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>