lkml.org 
[lkml]   [2003]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.4.22pre10+aa: XFS has it right, setxattr() takes "const void *"
On Mon, Aug 04, 2003 at 01:02:16PM -0400, Chip Salzenberg wrote:
> It seems that the XFS developers have the right idea about setxattr(),
> namely that it should take a "const void *" parameter for the attributes
> it will set, rather than "void *".
>
> This patch Makes It So. It is in some sense only cosmetic, since the
> generated code is the same, but the usage of const is a Good Thing for
> this kind of interface.

Well, the const is how it works on 2.5, 2.4 should not change module
APIs. Please submit a patch for XFS instead to remove the const for
2.4.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.026 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site