Revert "lib: build list_sort() only if needed"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Mar 2010 17:54:44 +0000 (09:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Mar 2010 17:54:44 +0000 (09:54 -0800)
commitb8fa05719ba4349be80ce929237249b57886a203
treeeb2a58ce09dc699e29e15b812f06196587aa64a3
parent4da0b66c6e9ea7ba78a19f9f186779826d89f8b0
Revert "lib: build list_sort() only if needed"

This reverts commit a069c266ae5fdfbf5b4aecf2c672413aa33b2504.

It turns ou that not only was it missing a case (XFS) that needed it,
but perhaps more importantly, people sometimes want to enable new
modules that they hadn't had enabled before, and if such a module uses
list_sort(), it can't easily be inserted any more.

So rather than add a "select LIST_SORT" to the XFS case, just leave it
compiled in.  It's not all _that_ big, after all, and the inconvenience
isn't worth it.

Requested-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Don Mullis <don.mullis@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/Kconfig
fs/ubifs/Kconfig
lib/Kconfig
lib/Makefile