]> git.michaelhowe.org Git - packages/o/openafs.git/commit
UKERNEL: End the #define u insanity
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 4 Feb 2010 16:08:26 +0000 (16:08 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Feb 2010 17:07:25 +0000 (09:07 -0800)
commit92946910e205252c23e435ff8fef2a3f29ea9592
tree5c72de3400dd0d65e3c048894302e9df27cb276d
parentd5622d03196762bd8a60404fea98b4bb044e076d
UKERNEL: End the #define u insanity

UKERNEL redefines the character 'u' to do a function call. This
hurts other kernel developers in all sorts of interesting ways. Remove
the definition, and instead explicitly reference the get_user_struct()
function in those places that we need to.

Change-Id: I64be2eb527c779df0a3d4508444ed68f3634667d
Reviewed-on: http://gerrit.openafs.org/1243
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
12 files changed:
src/afs/UKERNEL/afs_usrops.c
src/afs/UKERNEL/osi_machdep.h
src/afs/UKERNEL/osi_vfsops.c
src/afs/UKERNEL/sysincludes.h
src/afs/VNOPS/afs_vnop_flock.c
src/afs/VNOPS/afs_vnop_strategy.c
src/afs/afs_osi.h
src/afs/afs_osi_pag.c
src/afs/afs_pioctl.c
src/afs/afs_syscall.c
src/afs/lock.h
src/auth/ktc.c