lkml.org 
[lkml]   [2018]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH AUTOSEL 4.4 15/65] btrfs: don't create or leak aliased root while cleaning up orphans
On Thu, Oct 25, 2018 at 10:16:15AM -0400, Sasha Levin wrote:
> From: Jeff Mahoney <jeffm@suse.com>
>
> [ 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@vger.kernel.org> # 4.5

Ack for 4.4 stable.

\
 
 \ /
  Last update: 2018-10-25 17:13    [W:0.273 / U:36.444 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site