[PATCH 02/29] staging/lustre/lnet: Get rid of IOC_LIBCFS_DEBUG_PEER hack

Simmons, James A. simmonsja at ornl.gov
Mon Jan 4 18:08:25 UTC 2016


>>> @@ -1436,6 +1406,12 @@ LNetCtl(unsigned int cmd, void *arg)
>>> }
>>> EXPORT_SYMBOL(LNetCtl);
>>> 
>>> +void LNetDebugPeer(lnet_process_id_t id)
>>> +{
>>> +	lnet_debug_peer(id.nid);
>>> +}
>>> +EXPORT_SYMBOL(LNetDebugPeer);
>> 
>> Lets just use lnet_debug_peer directly.
>
>It's not exported and this is not how we export functionality out of the LNet.
>
>The way I did it is the way LNet api is exposed. Why break the custom all of a sudden and
>replace one hack with another?

Because camel case is frowned on. Do we have to expose camel case functions only? 




More information about the devel mailing list