linux/fs/btrfs/disk-io.c
Josef Bacik 058ac415b7 btrfs: only unlock block in verify_parent_transid if we locked it
commit 472b909ff6 upstream.

This is a regression from my patch a26e8c9f75, we
need to only unlock the block if we were the one who locked it.  Otherwise this
will trip BUG_ON()'s in locking.c  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-09 11:21:31 -07:00

4132 lines
112 KiB