Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /* MTD-based superblock handling
0003  *
0004  * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
0005  * Written by David Howells (dhowells@redhat.com)
0006  */
0007 
0008 #ifndef __MTD_SUPER_H__
0009 #define __MTD_SUPER_H__
0010 
0011 #ifdef __KERNEL__
0012 
0013 #include <linux/mtd/mtd.h>
0014 #include <linux/fs.h>
0015 #include <linux/mount.h>
0016 
0017 extern int get_tree_mtd(struct fs_context *fc,
0018              int (*fill_super)(struct super_block *sb,
0019                        struct fs_context *fc));
0020 extern void kill_mtd_super(struct super_block *sb);
0021 
0022 
0023 #endif /* __KERNEL__ */
0024 
0025 #endif /* __MTD_SUPER_H__ */