xfs
[Top] [All Lists]

Re: BUG 808328 - xfs_support EXPORTs symbols with generic names

To: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Subject: Re: BUG 808328 - xfs_support EXPORTs symbols with generic names
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Mon, 20 Nov 2000 18:53:55 -0600
Cc: dxm@xxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
References: <200011210031.QAA50158@xxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
"dxm@xxxxxxxxxxxx" wrote:

> View Incident: 
> http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=808328
>
> Submitter : dxm                       Submitter Domain : engr
> Assigned Engineer : dxm               Assigned Domain : engr
> Assigned Group : xfs-linux            Category : software
> Customer Reported : F                 Priority : 4
> Project : xfs-linux                   Status : open
> Description :
> xfs_support uses EXPORT_SYMBOL to export a bunch of symbols
> into the kernel global symbol namespace. Some of the symbol
> names are quite generic and hence potentially clash with other
> exports.
>
> Case in point is "copyin" and "copyout".
>
> we can:
>         - move code back into XFS
>         - make simple functions static inline
>         - prefix symbols and use macro aliasing to avoid
>                 changing all references to them

This seems like the easiest.

Actually is there any reason we shouldn't just define copyin -> copy_from_user 
and
copyout -> copy_to_user?

The functions were probably originally done for debug purposes.

>
>         - prefix symbols and change all references


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