[PATCH] Btrfs: reset path lock state to zero

2012-12-28 Thread Liu Bo
We forgot to reset the path lock state to zero after we unlock the path block, and this can lead to the ASSERT checker in tree unlock API. Reported-by: Slava Barinov Signed-off-by: Liu Bo --- fs/btrfs/extent-tree.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/btr

Re: [PATCH] Btrfs: reset path lock state to zero

2012-12-28 Thread Mitch Harder
On Fri, Dec 28, 2012 at 3:33 AM, Liu Bo wrote: > We forgot to reset the path lock state to zero after we unlock the path block, > and this can lead to the ASSERT checker in tree unlock API. > > Reported-by: Slava Barinov > Signed-off-by: Liu Bo > --- > fs/btrfs/extent-tree.c |2 ++ > 1 file

Re: [PATCH] Btrfs: reset path lock state to zero

2012-12-29 Thread Liu Bo
On Fri, Dec 28, 2012 at 12:32:25PM -0600, Mitch Harder wrote: > On Fri, Dec 28, 2012 at 3:33 AM, Liu Bo wrote: > > We forgot to reset the path lock state to zero after we unlock the path > > block, > > and this can lead to the ASSERT checker in tree unlock API. > > > > Reported-by: Slava Barinov