diff options
author | David Howells <dhowells@redhat.com> | 2019-03-25 19:38:31 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 21:34:23 +0300 |
commit | 0f071004109d9c8de7023b9a64fa2ba3fa87cbed (patch) | |
tree | cc26241bb5dcd51fef9658f43efc1537cdc51097 /drivers/mtd/mtdcore.h | |
parent | fe62c3a4e17ddfe672710425ab6eba2ba7203526 (diff) | |
download | linux-0f071004109d9c8de7023b9a64fa2ba3fa87cbed.tar.xz |
mtd: Provide fs_context-aware mount_mtd() replacement
Provide a function, get_tree_mtd(), to replace mount_mtd(), using an
fs_context struct to hold the parameters.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: David Woodhouse <dwmw2@infradead.org>
cc: Brian Norris <computersforpeace@gmail.com>
cc: Boris Brezillon <bbrezillon@kernel.org>
cc: Marek Vasut <marek.vasut@gmail.com>
cc: Richard Weinberger <richard@nod.at>
cc: linux-mtd@lists.infradead.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/mtd/mtdcore.h')
-rw-r--r-- | drivers/mtd/mtdcore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdcore.h b/drivers/mtd/mtdcore.h index b31c868019ad..b5eefeabf310 100644 --- a/drivers/mtd/mtdcore.h +++ b/drivers/mtd/mtdcore.h @@ -5,6 +5,7 @@ */ extern struct mutex mtd_table_mutex; +extern struct backing_dev_info *mtd_bdi; struct mtd_info *__mtd_next_device(int i); int __must_check add_mtd_device(struct mtd_info *mtd); |