Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1308794

Re: [PATCH] logfs: clarify MTD dependency

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] logfs: clarify MTD dependency
Date 2016-01-13 21:50 +0100
Message-ID <qQAwF-50b-1@gated-at.bofh.it> (permalink)
References <qQtEU-hT-65@gated-at.bofh.it> <qQAn0-4VL-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 13 January 2016 12:39:18 Andrew Morton wrote:
> 
> Randy's "logfs: fix logfs build errors and dependencies" is an
> only-in-mm thing.  So it would make sense to combine the two patches
> into a single one and to give that an appropriate changelog.
> 
> How does this look? (Primary author was chosen randomly)
> 
> 
> From: Arnd Bergmann <arnd@arndb.de>
> Subject: logfs: fix logfs build errors and dependencies
> 
> Fix build errors that happen when CONFIG_LOGFS=y and CONFIG_MTD=m:
> 
> fs/built-in.o: In function `logfs_mount':
> super.c:(.text+0x92a6f): undefined reference to `logfs_get_sb_mtd'
> fs/built-in.o: In function `logfs_get_sb_bdev':
> (.text+0x93530): 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.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> 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>
> 

Looks good, thanks!

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] logfs: clarify MTD dependency Arnd Bergmann <arnd@arndb.de> - 2016-01-13 14:30 +0100
  Re: [PATCH] logfs: clarify MTD dependency Andrew Morton <akpm@linux-foundation.org> - 2016-01-13 21:40 +0100
    Re: [PATCH] logfs: clarify MTD dependency Arnd Bergmann <arnd@arndb.de> - 2016-01-13 21:50 +0100
      Re: [PATCH] logfs: clarify MTD dependency Randy Dunlap <rdunlap@infradead.org> - 2016-01-13 22:40 +0100

csiph-web