* [folded-merged] logfs-clarify-mtd-dependency.patch removed from -mm tree
@ 2016-01-13 20:37 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-01-13 20:37 UTC (permalink / raw)
To: arnd, joern, mmarek, peter.chen, prasadjoshi.linux, rdunlap, mm-commits
The patch titled
Subject: logfs: clarify MTD dependency
has been removed from the -mm tree. Its filename was
logfs-clarify-mtd-dependency.patch
This patch was dropped because it was folded into logfs-fix-logfs-build-errors-and-dependencies.patch
------------------------------------------------------
From: Arnd Bergmann <arnd@arndb.de>
Subject: logfs: clarify MTD dependency
After a change to the way that composite modules work, we get
a logfs build error:
fs/built-in.o: In function `logfs_mount':
:(.text+0x139d34): undefined reference to `logfs_get_sb_mtd'
fs/built-in.o: In function `logfs_get_sb_bdev':
:(.text+0x13aa08): undefined reference to `logfs_get_sb_mtd'
This patch avoids the error by changing the dependencies of
logfs in a way that we can no longer configure logfs as built-in
when the MTD core is a loadable module, while leaving the
dependency to require at least one of MTD or BLOCK to be
enabled.
Another patch tried to work around the problem, but accidentally
dropped the dependency on 'BLOCK || MTD', allowing the file
system to be built if neither is selected.
Fixes: cf4f21938e13 ("kbuild: Allow to specify composite modules with modname-m")
Fixes: e6be296f680c ("logfs: fix logfs build errors and dependencies")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Peter Chen <peter.chen@freescale.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Joern Engel <joern@logfs.org>
Cc: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/logfs/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -puN fs/logfs/Kconfig~logfs-clarify-mtd-dependency fs/logfs/Kconfig
--- a/fs/logfs/Kconfig~logfs-clarify-mtd-dependency
+++ a/fs/logfs/Kconfig
@@ -1,7 +1,6 @@
config LOGFS
tristate "LogFS file system"
- depends on BLOCK || BLOCK=n
- depends on MTD || MTD=n
+ depends on MTD || (!MTD && BLOCK)
select ZLIB_INFLATE
select ZLIB_DEFLATE
select CRC32
_
Patches currently in -mm which might be from arnd@arndb.de are
logfs-fix-logfs-build-errors-and-dependencies.patch
include-define-__phys_to_pfn-as-phys_pfn-fix-2.patch
arm-thp-remove-infrastructure-for-handling-splitting-pmds-fix.patch
printk-nmi-generic-solution-for-safe-printk-in-nmi-v4-fix.patch
memstick-use-sector_div-instead-of-do_div.patch
mm-memcontrol-introduce-config_memcg_legacy_kmem-fix.patch
mm-memcontrol-clean-up-alloc-online-offline-free-functions-fix-2.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-13 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 20:37 [folded-merged] logfs-clarify-mtd-dependency.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.