On Thu, Oct 25, 2018 at 10:16:15AM -0400, Sasha Levin wrote: > From: Jeff Mahoney <jeffm@xxxxxxxx> > > [ Upstream commit 35bbb97fc898aeb874cb7c8b746f091caa359994 ] > > commit 909c3a22da3 (Btrfs: fix loading of orphan roots leading to BUG_ON) > avoids the BUG_ON but can add an aliased root to the dead_roots list or > leak the root. > > Since we've already been loading roots into the radix tree, we should > use it before looking the root up on disk. > > Cc: <stable@xxxxxxxxxxxxxxx> # 4.5 Ack for 4.4 stable.