mtd: export new mtd_mmap_capabilities
PATCH 1/1 mtd: export new mtd_mmap_capabilities
The recently added mtd_mmap_capabilities can be used from loadable modules, in particular romfs, but is not exported, so we get
ERROR: "mtd_mmap_capabilities" [fs/romfs/romfs.ko] undefined!
This adds the missing export.
drivers/mtd/mtdcore.c +1 -0
@@ -365,6 +365,7 @@ unsigned mtd_mmap_capabilities(struct mtd_info *mtd) return NOMMU_MAP_COPY; } } +EXPORT_SYMBOL_GPL (mtd_mmap_capabilities);#endif /**
Quoted 9 lines · Arnd Bergmann
The recently added
mtd_mmap_capabilitiescan be used from loadable modules, in particular romfs, but is not exported, so we getERROR: "
mtd_mmap_capabilities" [fs/romfs/romfs.ko] undefined!This adds the missing export.
Signed-off-by Arnd Bergmann <[email protected]>Fixes b4caecd48005f ("fs: introduce f_op->mmap_capabilities for nommu mmap support")
Thanks, this looks fine to me:
Quoted 9 lines · Arnd Bergmann
The recently added
mtd_mmap_capabilitiescan be used from loadable modules, in particular romfs, but is not exported, so we getERROR: "
mtd_mmap_capabilities" [fs/romfs/romfs.ko] undefined!This adds the missing export.
Signed-off-by Arnd Bergmann <[email protected]>Fixes b4caecd48005f ("fs: introduce f_op->mmap_capabilities for nommu mmap support")
This should go through the block tree in which the target commit is queued.
Brian
Jens Axboe
AppliedQuoted 8 lines · Brian Norris
Quoted 7 lines · Arnd Bergmann
The recently added
mtd_mmap_capabilitiescan be used from loadable modules, in particular romfs, but is not exported, so we getERROR: "
mtd_mmap_capabilities" [fs/romfs/romfs.ko] undefined!This adds the missing export.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Arnd Bergmann <[email protected]>Fixes b4caecd48005f ("fs: introduce f_op->mmap_capabilities for nommu mmap support")Acked-by Brian Norris <[email protected]>This should go through the block tree in which the target commit is queued.
Applied to for-3.20/bdi, thanks Arnd.
Signature · 1 line
Jens Axboe