On Tue, Oct 13, 2015 at 12:17:55PM -0700, Mark Fasheh wrote: > On Tue, Oct 13, 2015 at 02:06:48PM -0400, Chris Mason wrote: > > The code for btrfs inode-resolve has never worked properly for > > files with enough hard links to trigger extrefs. It was trying to > > get the leaf out of a path after freeing the path: > > > > btrfs_release_path(path); > > leaf = path->nodes[0]; > > item_size = btrfs_item_size_nr(leaf, slot); > > > > The fix here is to use the extent buffer we cloned just a little higher > > up to avoid deadlocks caused by using the leaf in the path. > > > > Signed-off-by: Chris Mason <[email protected]> > > cc: [email protected] # v3.7+ > > cc: Mark Fasheh <[email protected]> > Reviewed-by: Mark Fasheh <[email protected]>
Thanks Mark and Filipe, I've tested this and queued it up. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
