Messages in this thread | | | Date | Mon, 4 Aug 2003 23:01:29 +0100 | From | Christoph Hellwig <> | Subject | Re: [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/
| |