diff options
author | Yingyi Luo <yingyil@google.com> | 2017-09-15 10:49:21 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-06 13:23:34 +0200 |
commit | 8a820b57656c1a062c6445f872a9169fa0d9b381 (patch) | |
tree | bde68f90823b5e22c5c067d171dac9d0a32f15e8 /ctree.h | |
parent | 8d93d71f6aa521e0a3e078d2c4ab2c406ebd884c (diff) |
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>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2745,6 +2745,8 @@ int btrfs_add_orphan_item(struct btrfs_trans_handle *trans, u64 ino); int btrfs_mkdir(struct btrfs_trans_handle *trans, struct btrfs_root *root, char *name, int namelen, u64 parent_ino, u64 *ino, int mode); +struct btrfs_root *btrfs_mksubvol(struct btrfs_root *root, const char *base, + u64 root_objectid); /* file.c */ int btrfs_get_extent(struct btrfs_trans_handle *trans, |