.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* MTD-based superblock handling |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright © 2006 Red Hat, Inc. All Rights Reserved. |
---|
4 | 5 | * Written by David Howells (dhowells@redhat.com) |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or |
---|
7 | | - * modify it under the terms of the GNU General Public License |
---|
8 | | - * as published by the Free Software Foundation; either version |
---|
9 | | - * 2 of the License, or (at your option) any later version. |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #ifndef __MTD_SUPER_H__ |
---|
.. | .. |
---|
18 | 14 | #include <linux/fs.h> |
---|
19 | 15 | #include <linux/mount.h> |
---|
20 | 16 | |
---|
21 | | -extern struct dentry *mount_mtd(struct file_system_type *fs_type, int flags, |
---|
22 | | - const char *dev_name, void *data, |
---|
23 | | - int (*fill_super)(struct super_block *, void *, int)); |
---|
| 17 | +extern int get_tree_mtd(struct fs_context *fc, |
---|
| 18 | + int (*fill_super)(struct super_block *sb, |
---|
| 19 | + struct fs_context *fc)); |
---|
24 | 20 | extern void kill_mtd_super(struct super_block *sb); |
---|
25 | 21 | |
---|
26 | 22 | |
---|