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> Cc: Steven Whitehouse <swhiteho@redhat.com> Cc: cluster-devel@redhat.com Signed-off-by: James Morris <jmorris@namei.org> |
||
|---|---|---|
| .. | ||
| locking/dlm | ||
| Kconfig | ||
| Makefile | ||
| acl.c | ||
| acl.h | ||
| bmap.c | ||
| bmap.h | ||
| daemon.c | ||
| daemon.h | ||
| dir.c | ||
| dir.h | ||
| eaops.c | ||
| eaops.h | ||
| eattr.c | ||
| eattr.h | ||
| gfs2.h | ||
| glock.c | ||
| glock.h | ||
| glops.c | ||
| glops.h | ||
| incore.h | ||
| inode.c | ||
| inode.h | ||
| locking.c | ||
| log.c | ||
| log.h | ||
| lops.c | ||
| lops.h | ||
| main.c | ||
| meta_io.c | ||
| meta_io.h | ||
| mount.c | ||
| mount.h | ||
| ops_address.c | ||
| ops_address.h | ||
| ops_dentry.c | ||
| ops_dentry.h | ||
| ops_export.c | ||
| ops_file.c | ||
| ops_fstype.c | ||
| ops_fstype.h | ||
| ops_inode.c | ||
| ops_inode.h | ||
| ops_super.c | ||
| ops_super.h | ||
| quota.c | ||
| quota.h | ||
| recovery.c | ||
| recovery.h | ||
| rgrp.c | ||
| rgrp.h | ||
| super.c | ||
| super.h | ||
| sys.c | ||
| sys.h | ||
| trans.c | ||
| trans.h | ||
| util.c | ||
| util.h | ||