]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: reset path lock state to zero
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 28 Dec 2012 09:33:19 +0000 (09:33 +0000)
committerJosef Bacik <josef@toxicpanda.com>
Mon, 14 Jan 2013 18:52:53 +0000 (13:52 -0500)
commit9fc00530806f9616d0f9f6db40bcaeb00871def1
treec8385d5ea8b3e27da7ec1d46a030a1f4f74b9bb6
parentf23236dc06422f6c2920c15469a9002efaf5efff
Btrfs: reset path lock state to zero

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 <rayslava@gmail.com>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent-tree.c