OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3248-g936c2b0
Gerrit Code Review
gerrit@openafs.org
Sat, 5 Jan 2013 06:28:45 -0800 (PST)
The following commit has been merged in the master branch:
commit 936c2b02bf6fbeb3844c539665392ae89eb652fe
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Jan 4 13:47:35 2013 -0500
SOLARIS: Avoid areq and auid conflict
On new Solaris (11.1), nfs/auth.h #defines areq and auid to access
some elements inside the nfsauth_arg structure more easily. We have a
lot of functions that use those names as parameters, so the compiler
throws an error (since we have a decl like "struct vrequest
*areq_u.areq").
We cannot avoid including that header, since we need some NFS-related
headers for the NFS xlator, and they pull in nfs/auth.h
unconditionally. So, work around this by undefining areq and auid
afterwards.
Change-Id: Ifd139917dfe7a1221941351f7873fe183c617159
Reviewed-on: http://gerrit.openafs.org/8873
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/afs_nfsdisp.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository