commit | e89166990f11c3f21e1649d760dd35f9e410321c | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Thu Jan 25 11:02:50 2018 -0700 |
committer | David Sterba <dsterba@suse.com> | Fri Feb 02 16:24:19 2018 +0100 |
tree | 889775d635ab6755456a2b29232ef3d25f696145 | |
parent | 3acbcbfc8f06d4ade2aab2ebba0a2542a05ce90c [diff] |
Btrfs: fix deadlock in run_delalloc_nocow @cur_offset is not set back to what it should be (@cow_start) if btrfs_next_leaf() returns something wrong, and the range [cow_start, cur_offset) remains locked forever. cc: <stable@vger.kernel.org> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>