diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-26 21:08:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:47 +0100 |
commit | c03b22076bd2c9fe88c055a35637a836d986db76 (patch) | |
tree | 3dd850292952752a1e20b43af78105568824235f /fs/btrfs/super.h | |
parent | btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h (diff) | |
download | linux-c03b22076bd2c9fe88c055a35637a836d986db76.tar.xz linux-c03b22076bd2c9fe88c055a35637a836d986db76.zip |
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.h | 12 |
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 |