Retire AFS_MOUNT_AFS

Currently, the AFS_MOUNT_AFS #define is used to mean two completely
different things:

- The string "afs", corresponding to the first argument to mount(2) on
  many platforms and some related calls inside libafs (e.g.
  getnewvnode() on FBSD).

- An integer identifying the AFS filesystem (e.g. gfsadd() on AIX).

Depending on the platform and the build context (UKERNEL vs KERNEL),
AFS_MOUNT_AFS gets defined to one of those two things. This is very
confusing, and has led to mistakes in the past, such as those fixed in
commit 446457a1 (afs: Set AFS_VFSFSID to a numerical value).

To avoid such confusion, get rid of AFS_MOUNT_AFS completely, and
replace it with two new symbols:

- AFS_MOUNT_STR, the string "afs".

- AFS_FSNO, the integer given to gfsadd() et al.

When AFS_MOUNT_AFS is split this way, AFS_MOUNT_STR then is always
defined to the same value, so remove it from the param.h files for our
platforms. Instead, define it in afs.h for libafs use, and in
afsd_kernel.c (the only place outside of src/afs that uses it).

Also remove the logic for conditionally defining MOUNT_AFS from the
param.h files, moving the logic to the same locations as
AFS_MOUNT_STR.

Note that this commit removes the numeric definition for AFS_MOUNT_AFS
in param.sgi_65.h (aka AFS_FSNO). We never actually used this value,
since AFS_FSNO is not used on IRIX; instead, we tend to use the
'afs_fstype' global instead of a constant number.

Reviewed-on: https://gerrit.openafs.org/14323
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 6b96a49eb6268adf9fc7e077fe849af7802a1575)

Change-Id: Iebb35b323ceb50f9603387c46168b80ec800735d
Reviewed-on: https://gerrit.openafs.org/15422
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Ben Huntsman <ben@huntsmans.net>
Tested-by: Ben Huntsman <ben@huntsmans.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
Andrew Deason 2020-08-26 13:54:00 -05:00 committed by Stephan Wiesand
parent ee6944d96d
commit 4394a3ee84
80 changed files with 52 additions and 260 deletions

View File

@ -116,7 +116,7 @@ afs_config(cmd, uiop)
*/
if (err = pincode(afs_config))
goto out;
err = gfsadd(AFS_MOUNT_AFS, &afs_gfs);
err = gfsadd(AFS_FSNO, &afs_gfs);
/*
* ok, if already installed
*/
@ -139,7 +139,7 @@ afs_config(cmd, uiop)
koff_addsyms(db_syms, db_nsyms);
}
} else if (cmd == CFG_TERM) { /* delete AFS gfs */
err = gfsdel(AFS_MOUNT_AFS);
err = gfsdel(AFS_FSNO);
/*
* ok, if already deleted
*/

View File

@ -2580,7 +2580,7 @@ struct vnodeops locked_afs_gn_vnodeops = {
struct gfs afs_gfs = {
&locked_Afs_vfsops,
&locked_afs_gn_vnodeops,
AFS_MOUNT_AFS,
AFS_FSNO,
"afs",
Afs_init,
GFS_VERSION4 | GFS_VERSION42 | GFS_REMOTE,

View File

@ -290,7 +290,7 @@ afs_statfs(OSI_VFS_ARG(afsp), abp, avp)
abp->f_ffree = abp->f_favail = AFS_VFS_FAKEFREE;
abp->f_fsid = AFS_VFSMAGIC; /* magic */
strcpy(abp->f_basetype, AFS_MOUNT_AFS);
strcpy(abp->f_basetype, AFS_MOUNT_STR);
abp->f_flag = 0;
abp->f_namemax = 256;
return 0;

View File

@ -146,7 +146,7 @@ static const struct vnodeopv_desc *afs_vnodeopv_descs[] = {
};
struct vfsops afs_vfsops = {
AFS_MOUNT_AFS,
AFS_MOUNT_STR,
#ifdef AFS_NBSD50_ENV
0, /* vfs_min_mount_data */
#endif
@ -273,7 +273,7 @@ afs_mount(struct mount *mp, const char *path, void *data,
memset(mp->mnt_stat.f_mntfromname, 0, MNAMELEN);
strcpy(mp->mnt_stat.f_mntfromname, "AFS");
/* null terminated string "AFS" will fit, just leave it be. */
strcpy(mp->mnt_stat.f_fstypename, AFS_MOUNT_AFS);
strcpy(mp->mnt_stat.f_fstypename, AFS_MOUNT_STR);
AFS_GUNLOCK();
(void)afs_statvfs(mp, &mp->mnt_stat);

View File

@ -34,24 +34,34 @@ enum afs_shutdown_state {
};
extern enum afs_shutdown_state afs_shuttingdown;
/*
* The string that we use for the "device" we mount /afs on. That is, we're not
* mounted on a drive like /dev/sda, but instead mounted on "afs".
*/
#define AFS_MOUNT_STR "afs"
#ifndef MOUNT_AFS
# define MOUNT_AFS AFS_MOUNT_STR
#endif
/*
* Macros to uniquely identify the AFS vfs struct
*/
#define AFS_VFSMAGIC 0x1234
#if defined(UKERNEL)
# if defined(AFS_USR_AIX_ENV) || defined(AFS_USR_SGI_ENV)
# define AFS_VFSFSID AFS_MOUNT_AFS
# else
# define AFS_VFSFSID 99
# endif
#elif defined(AFS_SUN5_ENV) || defined(AFS_HPUX90_ENV) || defined(AFS_LINUX_ENV)
# define AFS_VFSFSID 99
#elif defined(AFS_SGI_ENV)
/*
* Define AFS_VFSFSID, an id number corresponding to the AFS filesystem. On
* Irix, this is stored in a global var (afs_fstype); everywhere else, we have
* a constant. If we have a platform-defined value for this, use it (AFS_FSNO);
* otherwise, we just make up an arbitrary value here (99).
*/
#ifdef AFS_SGI_ENV
# define AFS_VFSFSID afs_fstype
#elif defined(AFS_FSNO)
# define AFS_VFSFSID AFS_FSNO
#else
# define AFS_VFSFSID AFS_MOUNT_AFS
# define AFS_VFSFSID 99
#endif
/* use this value for reporting total space, free space, etc.
* fake a high number to satisfy programs that use the statfs call to make sure
* that there's enough space in the device partition before storing something

View File

@ -95,8 +95,9 @@ kern_return_t DiskArbDiskAppearedWithMountpointPing_auto(char *, unsigned int,
#include <mach/mach_init.h>
#endif /* AFS_DARWIN_ENV */
#define AFS_MOUNT_STR "afs"
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_STR
#endif /* MOUNT_AFS */
#ifdef AFS_SGI_ENV
@ -315,11 +316,11 @@ aix_vmount(const char *cacheMountDir)
vmountp->vmt_revision = VMT_REVISION;
vmountp->vmt_length = size;
vmountp->vmt_fsid.fsid_dev = 0;
vmountp->vmt_fsid.fsid_type = AFS_MOUNT_AFS;
vmountp->vmt_fsid.fsid_type = AFS_FSNO;
vmountp->vmt_vfsnumber = 0;
vmountp->vmt_time = 0; /* We'll put the time soon! */
vmountp->vmt_flags = VFS_DEVMOUNT; /* read/write permission */
vmountp->vmt_gfstype = AFS_MOUNT_AFS;
vmountp->vmt_gfstype = AFS_FSNO;
vmountdata(vmountp, "AFS", cacheMountDir, "", "", "", "rw");
/* Do the actual mount system call */

View File

@ -32,7 +32,6 @@
#define AFS_NONFSTRANS 1
#define AFS_KERBEROS_ENV
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -32,7 +32,6 @@
#define AFS_NONFSTRANS 1
#define AFS_KERBEROS_ENV
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -37,9 +37,6 @@
#define AFS_CACHE_VNODE_PATH
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -185,9 +182,6 @@ struct rt_addrinfo {
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -42,16 +42,11 @@
#define AFS_ENV 1
#define AFS_SYSCALL 339
#define AFS_MOUNT_AFS "afs"
#ifndef MOUNT_UFS
#define MOUNT_UFS "ufs"
#endif
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
@ -154,7 +149,6 @@ enum vcexcl { NONEXCL, EXCL };
#undef AFS_NONFSTRANS
#define AFS_NONFSTRANS 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 339
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -125,8 +125,7 @@ struct uio;
#define AFS_SYSCALL 48 /* slot reserved for AFS */
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define SYS_NAME "hp_ux102"

View File

@ -130,8 +130,7 @@ struct uio;
#define AFS_SYSCALL 48 /* slot reserved for AFS */
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define SYS_NAME "hp_ux110"

View File

@ -134,8 +134,7 @@ struct uio;
#define AFS_SYSCALL 48 /* slot reserved for AFS */
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define SYS_NAME "hp_ux110"

View File

@ -53,16 +53,11 @@
#define AFS_ENV 1
#define AFS_SYSCALL 339
#define AFS_MOUNT_AFS "afs"
#ifndef MOUNT_UFS
#define MOUNT_UFS "ufs"
#endif
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
@ -131,7 +126,6 @@ enum vcexcl { NONEXCL, EXCL };
#undef AFS_NONFSTRANS
#define AFS_NONFSTRANS 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 339
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -34,7 +34,6 @@
#define AFS_NONFSTRANS 1
#define AFS_KERBEROS_ENV
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -36,7 +36,6 @@
#define AFS_NONFSTRANS 1
#define AFS_KERBEROS_ENV
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -17,7 +17,6 @@
#define AFS_LINUX_ENV 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type */
#define AFS_64BIT_IOPS_ENV 1
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_CLIENT 1
@ -68,7 +67,6 @@
#define AFS_64BIT_CLIENT 1
#undef AFS_NONFSTRANS
#define AFS_NONFSTRANS 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_64BIT_IOPS_ENV 1
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_USERSPACE_IP_ADDR 1

View File

@ -37,7 +37,6 @@
#define AFS_GREEDY43_ENV 1
#define AFS_ENV 1
#define AFS_MOUNT_AFS "afs"
#define AFS_SYSCALL 210
@ -45,10 +44,6 @@
#define MOUNT_UFS "ufs"
#endif
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */

View File

@ -38,7 +38,6 @@
#define AFS_GREEDY43_ENV 1
#define AFS_ENV 1
#define AFS_MOUNT_AFS "afs"
#define AFS_SYSCALL 210
@ -46,10 +45,6 @@
#define MOUNT_UFS "ufs"
#endif
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */

View File

@ -7,13 +7,8 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
#define AFS_NBSD_ENV 1

View File

@ -7,13 +7,8 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
#define AFS_NBSD_ENV 1

View File

@ -7,13 +7,8 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
#define AFS_NBSD_ENV 1

View File

@ -7,7 +7,6 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 318 /* 210 */
#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */

View File

@ -7,7 +7,6 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_KALLOC(n) kmem_alloc(n, KM_SLEEP)

View File

@ -7,7 +7,6 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_KALLOC(n) kmem_alloc(n, KM_SLEEP)

View File

@ -7,7 +7,6 @@
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_64BIT_CLIENT 1
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_KALLOC(n) kmem_alloc(n, KM_SLEEP)

View File

@ -29,7 +29,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -28,7 +28,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -29,7 +29,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -30,7 +30,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -30,7 +30,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -32,7 +32,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -33,7 +33,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -34,7 +34,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -38,7 +38,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -36,7 +36,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -37,7 +37,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -38,7 +38,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -39,7 +39,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -40,7 +40,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -40,7 +40,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -41,7 +41,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -42,7 +42,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -43,7 +43,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -44,7 +44,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -45,7 +45,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -46,7 +46,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -47,7 +47,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -48,7 +48,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -49,7 +49,6 @@
#define FTRUNC O_TRUNC
#define AFS_SYSCALL 208
#define AFS_MOUNT_AFS "afs"
#define RXK_LISTENER_ENV 1
#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */

View File

@ -19,9 +19,6 @@
#define AFS_NAMEI_ENV 1
#define DARWIN_REFBASE 3
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_ppc_darwin_12 1
#define sys_ppc_darwin_13 1
@ -89,9 +86,6 @@
#define AFS_SYSCALL 230
#define DARWIN_REFBASE 0
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_ppc_darwin_12 1
#define sys_ppc_darwin_13 1

View File

@ -28,9 +28,6 @@
#define DARWIN_REFBASE 3
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -118,9 +115,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -31,9 +31,6 @@
#define AFS_CACHE_VNODE_PATH
#define AFS_NEW_BKG 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -122,9 +119,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -31,7 +31,6 @@
#define AFS_NONFSTRANS 1
#define AFS_KERBEROS_ENV
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
#define AFS_SYSCALL 210
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */

View File

@ -32,8 +32,7 @@
#define AFS_GLOBAL_SUNLOCK 1
#define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
/* File system entry (used if vmount.h doesn't define MNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
#define AFS_SYSCALL 31
/* Machine / Operating system information */
@ -127,8 +126,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 105
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
/* Machine / Operating system information */
#define sys_rs_aix42 1

View File

@ -33,8 +33,7 @@
#define AFS_GLOBAL_SUNLOCK 1
#define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
/* File system entry (used if vmount.h doesn't define MNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
#define AFS_SYSCALL 31
/* Machine / Operating system information */
@ -134,8 +133,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 105
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
/* Machine / Operating system information */
#define sys_rs_aix51 1

View File

@ -34,8 +34,7 @@
#define AFS_GLOBAL_SUNLOCK 1
#define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
/* File system entry (used if vmount.h doesn't define MNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
#define AFS_SYSCALL 31
/* Machine / Operating system information */
@ -135,8 +134,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 105
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
/* Machine / Operating system information */
#define sys_rs_aix51 1

View File

@ -35,8 +35,7 @@
#define AFS_GLOBAL_SUNLOCK 1
#define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
/* File system entry (used if vmount.h doesn't define MNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
#define AFS_SYSCALL 31
/* Machine / Operating system information */
@ -136,8 +135,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 105
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
/* Machine / Operating system information */
#define sys_rs_aix51 1

View File

@ -36,8 +36,7 @@
#define AFS_GLOBAL_SUNLOCK 1
#define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
/* File system entry (used if vmount.h doesn't define MNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
#define AFS_SYSCALL 31
/* Machine / Operating system information */
@ -137,8 +136,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 105
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 4
#define AFS_FSNO 4
/* Machine / Operating system information */
#define sys_rs_aix51 1

View File

@ -55,9 +55,6 @@
#define AFS_SGI_XFS_IOPS_ENV 1 /* turns on XFS inode ops. */
#define AFS_64BIT_IOPS_ENV 1 /* inode ops expect 64 bit inodes */
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sgi_65 1
#define SYS_NAME "sgi_65"
@ -140,9 +137,6 @@
#define AFS_PIOCTL 64+1000
#define AFS_SYSCALL 73+1000
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
/* Machine / Operating system information */
#define sgi_65 1
#define SYS_NAME "sgi_65"

View File

@ -35,9 +35,6 @@
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sun4x_510 1
#define SYS_NAME "sun4x_510"
@ -124,8 +121,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sun4x_59 1

View File

@ -38,9 +38,6 @@
#define AFS_GCPAGS 1 /* if nonzero, garbage collect PAGs */
#define AFS_PAG_ONEGROUP_ENV 1 /* Use a single gid to indicate a PAG */
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sun4x_511 1
#define SYS_NAME "sun4x_511"
@ -130,8 +127,7 @@
/* so we get _IOW() when we include sys/ioctl.h */
#define BSD_COMP
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sun4x_511 1

View File

@ -31,9 +31,6 @@
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sun4x_58 1
#define SYS_NAME "sun4x_58"
@ -122,8 +119,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sun4x_58 1

View File

@ -32,9 +32,6 @@
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sun4x_59 1
#define SYS_NAME "sun4x_59"
@ -124,8 +121,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sun4x_59 1

View File

@ -45,9 +45,6 @@
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sunx86_510 1
#define SYS_NAME "sunx86_510"
@ -134,8 +131,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sunx86_510 1

View File

@ -48,9 +48,6 @@
/* so we get _IOW() when we include sys/ioctl.h */
#define BSD_COMP
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sunx86_511 1
#define SYS_NAME "sunx86_511"
@ -139,8 +136,7 @@
/* so we get _IOW() when we include sys/ioctl.h */
#define BSD_COMP
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sunx86_511 1

View File

@ -42,9 +42,6 @@
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sunx86_58 1
#define SYS_NAME "sunx86_58"
@ -131,8 +128,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sunx86_58 1

View File

@ -43,9 +43,6 @@
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#define sys_sunx86_59 1
#define SYS_NAME "sunx86_59"
@ -135,8 +132,7 @@
#define AFS_3DISPARES 1 /* Utilize the 3 available disk inode 'spares' */
#define AFS_SYSCALL 65
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS 1
#define AFS_FSNO 1
/* Machine / Operating system information */
#define sys_sunx86_59 1

View File

@ -36,9 +36,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -163,9 +160,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -37,9 +37,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -166,9 +163,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -38,9 +38,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -170,9 +167,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -39,9 +39,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -174,9 +171,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -40,9 +40,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -178,9 +175,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -41,9 +41,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -182,9 +179,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -42,9 +42,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -186,9 +183,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -43,9 +43,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -190,9 +187,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -44,9 +44,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -194,9 +191,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -45,9 +45,6 @@
#define AFS_NEW_BKG 1
#define NEED_IOCTL32
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -200,9 +197,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -28,9 +28,6 @@
#define AFS_WARNUSER_MARINER_ENV 1
#define DARWIN_REFBASE 3
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -119,9 +116,6 @@
#define DARWIN_REFBASE 0
#define AFS_NEW_BKG 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1

View File

@ -31,9 +31,6 @@
#define AFS_CACHE_VNODE_PATH
#define AFS_NEW_BKG 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1
@ -123,9 +120,6 @@
#define DARWIN_REFBASE 0
#define AFS_WARNUSER_MARINER_ENV 1
/* File system entry (used if mount.h doesn't define MOUNT_AFS */
#define AFS_MOUNT_AFS "afs"
/* Machine / Operating system information */
#if defined(__ppc__)
#define sys_ppc_darwin_12 1