Re: [PATCH] btrfs-progs: Initialize btrfs_path before use

2016-10-24 Thread Goldwyn Rodrigues
On 10/24/2016 09:57 AM, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > While performing an fsck, an assertion failure occurs because of reusing path > in a loop. > ctree.c:1112: btrfs_search_slot: Warning: assertion `p->nodes[0] != NULL` > failed, value 0 > > Signed-off-by: Goldwyn R

Re: [PATCH] btrfs-progs: Initialize btrfs_path before use

2016-10-24 Thread Filipe Manana
On Mon, Oct 24, 2016 at 3:57 PM, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > While performing an fsck, an assertion failure occurs because of reusing path > in a loop. > ctree.c:1112: btrfs_search_slot: Warning: assertion `p->nodes[0] != NULL` > failed, value 0 > > Signed-off-by: Gol

[PATCH] btrfs-progs: Initialize btrfs_path before use

2016-10-24 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues While performing an fsck, an assertion failure occurs because of reusing path in a loop. ctree.c:1112: btrfs_search_slot: Warning: assertion `p->nodes[0] != NULL` failed, value 0 Signed-off-by: Goldwyn Rodrigues diff --git a/cmds-check.c b/cmds-check.c index 670ccd1..