btrfs: do an allocation earlier during snapshot creation
We can allocate pending_snapshot earlier and do not have to do cleanup
in case of failure.
Signed-off-by: NDavid Sterba <dsterba@suse.com>
Showing
想要评论请 注册 或 登录
We can allocate pending_snapshot earlier and do not have to do cleanup
in case of failure.
Signed-off-by: NDavid Sterba <dsterba@suse.com>