• Linus Torvalds's avatar
    Revert "lib: build list_sort() only if needed" · b8fa0571
    Linus Torvalds authored
    This reverts commit a069c266.
    
    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: default avatarAlexey 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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b8fa0571
Makefile 3.39 KB