btrfs: hold a ref on the root in create_subvol
We're creating the new root here, but we should hold the ref until after we've initialized the inode for it. Signed-off-by: NJosef Bacik <josef@toxicpanda.com> Reviewed-by: NDavid Sterba <dsterba@suse.com> Signed-off-by: NDavid Sterba <dsterba@suse.com>
Showing
想要评论请 注册 或 登录