]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: release path before starting transaction in can_nocow_extent
authorJosef Bacik <jbacik@fusionio.com>
Fri, 18 Oct 2013 16:10:36 +0000 (12:10 -0400)
committerChris Mason <chris.mason@fusionio.com>
Fri, 18 Oct 2013 16:43:40 +0000 (12:43 -0400)
commit045d9ea1a828590f0c33c29378a8d2d82876d5b8
tree19f7e0ed19c2146b125bff6f5f74c1cc9a386668
parent25701e3dfef0fa459be01f581d70bf4f89eec80f
Btrfs: release path before starting transaction in can_nocow_extent

We can't be holding tree locks while we try to start a transaction, we will
deadlock.  Thanks,

Reported-by: Sage Weil <sage@inktank.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/inode.c