From 8a820b57656c1a062c6445f872a9169fa0d9b381 Mon Sep 17 00:00:00 2001 From: Yingyi Luo Date: Fri, 15 Sep 2017 10:49:21 -0700 Subject: 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 Signed-off-by: David Sterba --- ctree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ctree.h') diff --git a/ctree.h b/ctree.h index b5f6ea6b..c8bea34e 100644 --- a/ctree.h +++ b/ctree.h @@ -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, -- cgit v1.2.3