Re: fix rcu annotations noise in cred.h

Al Viro
2011-08-08T08:28:19Z

On Mon, Aug 08, 2011 at 09:18:29AM +0100, David Howells wrote:
>
> Al Viro <viro@ZenIV.linux.org.uk> wrote:
>
> > #define current_cred() \
> > - (current->cred)
> > + (*(__force struct cred **)&current->cred)
>
> No. You've cast away the const. Please don't do that.

So let's bring const back, not a problem...