xref: /linux-6.15/include/linux/mtd/super.h (revision 6d56e418)
12874c5fdSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2acaebfd8SDavid Howells /* MTD-based superblock handling
3acaebfd8SDavid Howells  *
4acaebfd8SDavid Howells  * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
5acaebfd8SDavid Howells  * Written by David Howells ([email protected])
6acaebfd8SDavid Howells  */
7acaebfd8SDavid Howells 
8acaebfd8SDavid Howells #ifndef __MTD_SUPER_H__
9acaebfd8SDavid Howells #define __MTD_SUPER_H__
10acaebfd8SDavid Howells 
11acaebfd8SDavid Howells #ifdef __KERNEL__
12acaebfd8SDavid Howells 
13acaebfd8SDavid Howells #include <linux/mtd/mtd.h>
14acaebfd8SDavid Howells #include <linux/fs.h>
15acaebfd8SDavid Howells #include <linux/mount.h>
16acaebfd8SDavid Howells 
17*0f071004SDavid Howells extern int get_tree_mtd(struct fs_context *fc,
18*0f071004SDavid Howells 		     int (*fill_super)(struct super_block *sb,
19*0f071004SDavid Howells 				       struct fs_context *fc));
20acaebfd8SDavid Howells extern void kill_mtd_super(struct super_block *sb);
21acaebfd8SDavid Howells 
22acaebfd8SDavid Howells 
23acaebfd8SDavid Howells #endif /* __KERNEL__ */
24acaebfd8SDavid Howells 
25acaebfd8SDavid Howells #endif /* __MTD_SUPER_H__ */
26