commit | 472b909ff6f4884d235ef7b9d3847fad5efafbff | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Wed Jun 25 13:45:41 2014 -0700 |
committer | Chris Mason <clm@fb.com> | Sat Jun 28 13:48:47 2014 -0700 |
tree | eee3ce7df92823bedb0f0d922221e380304d7e2d | |
parent | 46c4e71e9b02a649c722f06569f5b6575da02dba [diff] |
btrfs: only unlock block in verify_parent_transid if we locked it This is a regression from my patch a26e8c9f75b0bfd8cccc9e8f110737b136eb5994, 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, cc: stable@vger.kernel.org Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>