xfs-masters
[Top] [All Lists]

Re: [PATCH mmotm] xfs: needs LIST_SORT

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH mmotm] xfs: needs LIST_SORT
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Date: Wed, 03 Mar 2010 15:35:13 -0800
Cc: linux-kernel@xxxxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, Alex Elder <aelder@xxxxxxx>, xfs-masters@xxxxxxxxxxx
In-reply-to: <20100303232522.GC14317@xxxxxxxxxxxxxxxx>
Organization: Oracle Linux Engineering
References: <201003030305.o2335F1F015917@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4B8EB545.8060806@xxxxxxxxxx> <20100303232522.GC14317@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0
On 03/03/10 15:25, Dave Chinner wrote:
> On Wed, Mar 03, 2010 at 11:15:17AM -0800, Randy Dunlap wrote:
>> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>>
>> xfs uses list_sort (library function), so it needs to select it.
>> Fixes these build errors:
>> fs/xfs/linux-2.6/xfs_buf.c:1918: undefined reference to `list_sort'
>> fs/xfs/linux-2.6/xfs_buf.c:1996: undefined reference to `list_sort'
>> fs/xfs/linux-2.6/xfs_buf.c:1950: undefined reference to `list_sort'
>>
>> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>> ---
>>  fs/xfs/Kconfig |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> --- mmotm-2010-0302-1838.orig/fs/xfs/Kconfig
>> +++ mmotm-2010-0302-1838/fs/xfs/Kconfig
>> @@ -2,6 +2,7 @@ config XFS_FS
>>      tristate "XFS filesystem support"
>>      depends on BLOCK
>>      select EXPORTFS
>> +    select LIST_SORT
>>      help
>>        XFS is a high performance journaling filesystem which originated
>>        on the SGI IRIX platform.  It is completely multi-threaded, can
> 
> Looks OK, but when and why did a config option get introduced for
> this?

no idea.

> I thought that Andi was trying to cull unused symbols in
> library functions automatically, so config options weren't needed...
> 
> FWIW, did UBIFS and DRM also get this select line added to them?

I just checked and both of those already select LIST_SORT.
(in -mmotm)

-- 
~Randy

<Prev in Thread] Current Thread [Next in Thread>