summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-26 15:08:39 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:47 +0100
commitc03b22076bd2c9fe88c055a35637a836d986db76 (patch)
tree3dd850292952752a1e20b43af78105568824235f /fs/btrfs/super.h
parent6a6b4daf92fd8393eeac9631318d48d5b25ee4df (diff)
downloadlinux-c03b22076bd2c9fe88c055a35637a836d986db76.tar.bz2
btrfs: move super prototypes into super.h
Move these out of ctree.h into super.h to cut down on code in ctree.h. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.h')
-rw-r--r--fs/btrfs/super.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/btrfs/super.h b/fs/btrfs/super.h
new file mode 100644
index 000000000000..c8875653e628
--- /dev/null
+++ b/fs/btrfs/super.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef BTRFS_SUPER_H
+#define BTRFS_SUPER_H
+
+int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
+ unsigned long new_flags);
+int btrfs_sync_fs(struct super_block *sb, int wait);
+char *btrfs_get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info,
+ u64 subvol_objectid);
+
+#endif