mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
Do not turn off AFS_HAVE_STATVFS for UKERNEL
Many param files turn off AFS_HAVE_STATVFS for UKERNEL. We obviously still have statvfs() available whether we are running with UKERNEL or not, so modify param files to enable it for UKERNEL if it was enabled for non-UKERNEL. The only places using this define are afsd and vol/partition.c, the latter of which will not be affected. Change-Id: I1f276c88cbe0ca401580a564be664a7fc6739fde Reviewed-on: http://gerrit.openafs.org/1743 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
f77c078a29
commit
edbfcbdf0e
@ -158,7 +158,7 @@ enum vcexcl { NONEXCL, EXCL };
|
||||
#define SYS_NAME "alpha_dux40"
|
||||
#define SYS_NAME_ID SYS_NAME_ID_alpha_dux40
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
|
@ -166,7 +166,7 @@ enum vcexcl { NONEXCL, EXCL };
|
||||
#define SYS_NAME "alpha_dux50"
|
||||
#define SYS_NAME_ID SYS_NAME_ID_alpha_dux50
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
|
@ -167,7 +167,7 @@ enum vcexcl { NONEXCL, EXCL };
|
||||
#define SYS_NAME "alpha_dux51"
|
||||
#define SYS_NAME_ID SYS_NAME_ID_alpha_dux51
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
|
@ -134,7 +134,7 @@ struct uio;
|
||||
#define SYS_NAME_ID SYS_NAME_ID_hp_ux102
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -141,7 +141,7 @@ struct uio;
|
||||
#define SYS_NAME_ID SYS_NAME_ID_hp_ux110
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -145,7 +145,7 @@ struct uio;
|
||||
#define SYS_NAME_ID SYS_NAME_ID_hp_ux110
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -140,7 +140,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_rs_aix42
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -149,7 +149,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_rs_aix51
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -150,7 +150,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_rs_aix51
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -151,7 +151,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_rs_aix51
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -152,7 +152,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_rs_aix51
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -175,7 +175,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sgi_65
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
|
||||
|
||||
|
@ -150,7 +150,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_59
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -151,7 +151,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_511
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -137,7 +137,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -140,7 +140,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -155,7 +155,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_55
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -148,7 +148,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_58
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -150,7 +150,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sun4x_59
|
||||
#define AFSBIG_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -160,7 +160,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sunx86_510
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -161,7 +161,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sunx86_511
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -81,6 +81,7 @@
|
||||
#else /* !defined(UKERNEL) */
|
||||
|
||||
/* This section for user space compiles only */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
|
||||
#endif /* !defined(UKERNEL) */
|
||||
|
@ -148,7 +148,7 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sunx86_57
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -154,7 +154,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sunx86_58
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
@ -158,7 +158,8 @@
|
||||
#define SYS_NAME_ID SYS_NAME_ID_sunx86_59
|
||||
#define AFSLITTLE_ENDIAN 1
|
||||
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
|
||||
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
|
||||
#define AFS_HAVE_STATVFS 1 /* System supports statvfs */
|
||||
#define AFS_HAVE_STATVFS64 1 /* System supports statvfs64 */
|
||||
|
||||
/* Extra kernel definitions (from kdefs file) */
|
||||
#ifdef KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user