__del_reloc_root should be called before freeing up reloc_root->node.
If not, calling __del_reloc_root() dereference reloc_root->node, causing
the system BUG.
Signed-off-by: Naohiro Aota
---
fs/btrfs/relocation.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/rel
On 25.08.2017 08:15, Naohiro Aota wrote:
> __del_reloc_root should be called before freeing up reloc_root->node.
> If not, calling __del_reloc_root() dereference reloc_root->node, causing
> the system BUG.
>
> Signed-off-by: Naohiro Aota
This patch should also have:
Fixes: 6bdf131fac23 ("Btrf
On Fri, Aug 25, 2017 at 08:49:11AM +0300, Nikolay Borisov wrote:
>
>
> On 25.08.2017 08:15, Naohiro Aota wrote:
> > __del_reloc_root should be called before freeing up reloc_root->node.
> > If not, calling __del_reloc_root() dereference reloc_root->node, causing
> > the system BUG.
> >
> > Signe