aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2011-08-08 14:54:53 +0000
committerLinus Torvalds <[email protected]>2011-08-08 16:03:16 +0000
commit27e4e4362756a78b15e83ef104c8bbe257f40f90 (patch)
treee94ce9e5540cc8e2ae9a06aa398bc16a364c29b2 /fs/btrfs/async-thread.c
parentLinux 3.1-rc1 (diff)
downloadkernel-27e4e4362756a78b15e83ef104c8bbe257f40f90.tar.gz
kernel-27e4e4362756a78b15e83ef104c8bbe257f40f90.zip
CRED: Restore const to current_cred()
Commit 3295514841c2 ("fix rcu annotations noise in cred.h") accidentally dropped the const of current->cred inside current_cred() by the insertion of a cast to deal with an RCU annotation loss warning from sparce. Use an appropriate RCU wrapper instead so as not to lose the const. Signed-off-by: David Howells <[email protected]> Reviewed-by: Paul E. McKenney <[email protected]> cc: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions