summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorDon Mullis <don.mullis@gmail.com>2010-03-05 13:43:16 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 11:26:35 -0800
commita069c266ae5fdfbf5b4aecf2c672413aa33b2504 (patch)
tree2f9731d8475fc5b2d942cac004904db8e49d5428 /fs/ubifs
parent02b12b7a28faa2e9ed5a361cd08ea576ab1f1509 (diff)
downloadblackbird-op-linux-a069c266ae5fdfbf5b4aecf2c672413aa33b2504.tar.gz
blackbird-op-linux-a069c266ae5fdfbf5b4aecf2c672413aa33b2504.zip
lib: build list_sort() only if needed
Build list_sort() only for configs that need it -- those that don't save ~581 bytes (i386). Signed-off-by: Don Mullis <don.mullis@gmail.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Dave Chinner <david@fromorbit.com> Cc: Artem Bityutskiy <dedekind@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
index 830e3f76f442..430c69f39842 100644
--- a/fs/ubifs/Kconfig
+++ b/fs/ubifs/Kconfig
@@ -7,6 +7,7 @@ config UBIFS_FS
select CRYPTO if UBIFS_FS_ZLIB
select CRYPTO_LZO if UBIFS_FS_LZO
select CRYPTO_DEFLATE if UBIFS_FS_ZLIB
+ select LIST_SORT
depends on MTD_UBI
help
UBIFS is a file system for flash devices which works on top of UBI.
OpenPOWER on IntegriCloud