Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / include / linux / mtd / super.h
blob3608a6c36facebae7aac19ff460970c0d63a13d2
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* MTD-based superblock handling
4 * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
6 */
8 #ifndef __MTD_SUPER_H__
9 #define __MTD_SUPER_H__
11 #ifdef __KERNEL__
13 #include <linux/mtd/mtd.h>
14 #include <linux/fs.h>
15 #include <linux/mount.h>
17 extern int get_tree_mtd(struct fs_context *fc,
18 int (*fill_super)(struct super_block *sb,
19 struct fs_context *fc));
20 extern void kill_mtd_super(struct super_block *sb);
23 #endif /* __KERNEL__ */
25 #endif /* __MTD_SUPER_H__ */