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:
Andrew Deason 2010-04-12 12:39:00 -05:00 committed by Derrick Brashear
parent f77c078a29
commit edbfcbdf0e
25 changed files with 33 additions and 24 deletions

View File

@ -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) */

View 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) */

View 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) */

View 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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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. */

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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) */

View File

@ -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

View File

@ -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

View File

@ -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