hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/linux/mtd/super.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* MTD-based superblock handling
23 *
34 * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
45 * 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.
106 */
117
128 #ifndef __MTD_SUPER_H__
....@@ -18,9 +14,9 @@
1814 #include <linux/fs.h>
1915 #include <linux/mount.h>
2016
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));
2420 extern void kill_mtd_super(struct super_block *sb);
2521
2622