]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - include/linux/mtd/super.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[mirror_ubuntu-jammy-kernel.git] / include / linux / mtd / super.h
CommitLineData
2874c5fd 1/* SPDX-License-Identifier: GPL-2.0-or-later */
acaebfd8
DH
2/* MTD-based superblock handling
3 *
4 * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
acaebfd8
DH
6 */
7
8#ifndef __MTD_SUPER_H__
9#define __MTD_SUPER_H__
10
11#ifdef __KERNEL__
12
13#include <linux/mtd/mtd.h>
14#include <linux/fs.h>
15#include <linux/mount.h>
16
848b83a5 17extern struct dentry *mount_mtd(struct file_system_type *fs_type, int flags,
acaebfd8 18 const char *dev_name, void *data,
848b83a5 19 int (*fill_super)(struct super_block *, void *, int));
acaebfd8
DH
20extern void kill_mtd_super(struct super_block *sb);
21
22
23#endif /* __KERNEL__ */
24
25#endif /* __MTD_SUPER_H__ */