btrfs-progs: convert: move link_subvol out of main
authorYingyi Luo <yingyil@google.com>
Fri, 15 Sep 2017 17:49:21 +0000 (10:49 -0700)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Oct 2017 11:23:34 +0000 (13:23 +0200)
commit8a820b57656c1a062c6445f872a9169fa0d9b381
treebde68f90823b5e22c5c067d171dac9d0a32f15e8
parent8d93d71f6aa521e0a3e078d2c4ab2c406ebd884c
btrfs-progs: convert: move link_subvol out of main

link_subvol() is moved to inode.c and renamed as btrfs_mksubvol().
The change cascades down to the callchain.

Signed-off-by: Yingyi Luo <yingyil@google.com>
Signed-off-by: David Sterba <dsterba@suse.com>
convert/main.c
ctree.h
inode.c