mtd: Provide fs_context-aware mount_mtd() replacement
authorDavid Howells <dhowells@redhat.com>
Mon, 25 Mar 2019 16:38:31 +0000 (16:38 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Sep 2019 18:34:23 +0000 (14:34 -0400)
commit0f071004109d9c8de7023b9a64fa2ba3fa87cbed
treecc26241bb5dcd51fef9658f43efc1537cdc51097
parentfe62c3a4e17ddfe672710425ab6eba2ba7203526
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>
drivers/mtd/mtdcore.h
drivers/mtd/mtdsuper.c
include/linux/mtd/super.h