Fix leak in __btrfs_map_block error path
If we bail out when the stripe alloc fails, we need to undo the earlier allocation of raid_map. Signed-off-by: NDave Jones <davej@redhat.com> Signed-off-by: NJosef Bacik <jbacik@fusionio.com> Signed-off-by: NChris Mason <chris.mason@fusionio.com>
Showing
想要评论请 注册 或 登录