cred: use 'const' in get_current_{user,groups}
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Aug 2011 18:33:23 +0000 (11:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Aug 2011 18:33:23 +0000 (11:33 -0700)
commit638a8439096c582bdb523fcea9d875d3e1fed38a
tree096f759911f2b3346e30c5ddba61537b1ef42c28
parent27e4e4362756a78b15e83ef104c8bbe257f40f90
cred: use 'const' in get_current_{user,groups}

Avoid annoying warnings from these functions ("discards qualifiers")
because they assign 'current_cred()' to a non-const pointer.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cred.h