linux-stable/net/9p
David Howells f8b9d53a31 CRED: Wrap task credential accesses in 9P2000 filesystem
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.

Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().

Change some task->e?[ug]id to task_e?[ug]id().  In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Reviewed-by: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: v9fs-developer@lists.sourceforge.net
Signed-off-by: James Morris <jmorris@namei.org>
2008-11-14 10:38:44 +11:00
..
Kconfig 9p: rdma: RDMA Transport Support for 9P 2008-10-22 18:47:39 -05:00
Makefile 9p: rdma: RDMA Transport Support for 9P 2008-10-22 18:47:39 -05:00
client.c CRED: Wrap task credential accesses in 9P2000 filesystem 2008-11-14 10:38:44 +11:00
error.c 9p: make cryptic unknown error from server less scary 2008-05-14 19:23:26 -05:00
mod.c 9p: consolidate transport structure 2008-10-17 11:04:41 -05:00
protocol.c 9p: fix sparse warnings 2008-10-22 18:54:47 -05:00
protocol.h 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00
trans_fd.c 9p: fix debug build error 2008-10-22 18:47:40 -05:00
trans_rdma.c 9p: rdma: RDMA Transport Support for 9P 2008-10-22 18:47:39 -05:00
trans_virtio.c 9p: make rpc code common and rework flush code 2008-10-17 11:04:42 -05:00
util.c 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00