From edbfcbdf0efa01fde56c9f8d857b495a86f24a14 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 12 Apr 2010 12:39:00 -0500 Subject: [PATCH] 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 Tested-by: Derrick Brashear --- src/config/param.alpha_dux40.h | 2 +- src/config/param.alpha_dux50.h | 2 +- src/config/param.alpha_dux51.h | 2 +- src/config/param.hp_ux102.h | 2 +- src/config/param.hp_ux110.h | 2 +- src/config/param.hp_ux11i.h | 2 +- src/config/param.rs_aix42.h | 2 +- src/config/param.rs_aix51.h | 2 +- src/config/param.rs_aix52.h | 2 +- src/config/param.rs_aix53.h | 2 +- src/config/param.rs_aix61.h | 2 +- src/config/param.sgi_65.h | 2 +- src/config/param.sun4x_510.h | 3 ++- src/config/param.sun4x_511.h | 3 ++- src/config/param.sun4x_55.h | 2 +- src/config/param.sun4x_56.h | 2 +- src/config/param.sun4x_57.h | 2 +- src/config/param.sun4x_58.h | 3 ++- src/config/param.sun4x_59.h | 3 ++- src/config/param.sunx86_510.h | 3 ++- src/config/param.sunx86_511.h | 3 ++- src/config/param.sunx86_54.h | 1 + src/config/param.sunx86_57.h | 2 +- src/config/param.sunx86_58.h | 3 ++- src/config/param.sunx86_59.h | 3 ++- 25 files changed, 33 insertions(+), 24 deletions(-) diff --git a/src/config/param.alpha_dux40.h b/src/config/param.alpha_dux40.h index 675c573024..870e0c632f 100644 --- a/src/config/param.alpha_dux40.h +++ b/src/config/param.alpha_dux40.h @@ -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) */ diff --git a/src/config/param.alpha_dux50.h b/src/config/param.alpha_dux50.h index ab09a15985..79e89bb90f 100644 --- a/src/config/param.alpha_dux50.h +++ b/src/config/param.alpha_dux50.h @@ -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) */ diff --git a/src/config/param.alpha_dux51.h b/src/config/param.alpha_dux51.h index c3d712bbf2..7020a89b07 100644 --- a/src/config/param.alpha_dux51.h +++ b/src/config/param.alpha_dux51.h @@ -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) */ diff --git a/src/config/param.hp_ux102.h b/src/config/param.hp_ux102.h index 420a158f5e..e33eb00439 100644 --- a/src/config/param.hp_ux102.h +++ b/src/config/param.hp_ux102.h @@ -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 diff --git a/src/config/param.hp_ux110.h b/src/config/param.hp_ux110.h index 5e3399183d..14fc5bf8b9 100644 --- a/src/config/param.hp_ux110.h +++ b/src/config/param.hp_ux110.h @@ -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 diff --git a/src/config/param.hp_ux11i.h b/src/config/param.hp_ux11i.h index 80a209546b..db61514343 100644 --- a/src/config/param.hp_ux11i.h +++ b/src/config/param.hp_ux11i.h @@ -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 diff --git a/src/config/param.rs_aix42.h b/src/config/param.rs_aix42.h index d17eb3bfe4..e2bbfb45ac 100644 --- a/src/config/param.rs_aix42.h +++ b/src/config/param.rs_aix42.h @@ -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 diff --git a/src/config/param.rs_aix51.h b/src/config/param.rs_aix51.h index 83cb052b58..a856b273ae 100644 --- a/src/config/param.rs_aix51.h +++ b/src/config/param.rs_aix51.h @@ -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 diff --git a/src/config/param.rs_aix52.h b/src/config/param.rs_aix52.h index 7a8b5978d0..b51903aaae 100644 --- a/src/config/param.rs_aix52.h +++ b/src/config/param.rs_aix52.h @@ -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 diff --git a/src/config/param.rs_aix53.h b/src/config/param.rs_aix53.h index 4495ff69f1..f3473c35c8 100644 --- a/src/config/param.rs_aix53.h +++ b/src/config/param.rs_aix53.h @@ -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 diff --git a/src/config/param.rs_aix61.h b/src/config/param.rs_aix61.h index 51c4cf8c77..0a31dae857 100644 --- a/src/config/param.rs_aix61.h +++ b/src/config/param.rs_aix61.h @@ -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 diff --git a/src/config/param.sgi_65.h b/src/config/param.sgi_65.h index f45ea30cdc..eed5e93f9a 100644 --- a/src/config/param.sgi_65.h +++ b/src/config/param.sgi_65.h @@ -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. */ diff --git a/src/config/param.sun4x_510.h b/src/config/param.sun4x_510.h index f708de6266..51ba830ba6 100644 --- a/src/config/param.sun4x_510.h +++ b/src/config/param.sun4x_510.h @@ -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 diff --git a/src/config/param.sun4x_511.h b/src/config/param.sun4x_511.h index a7a4d1f2bb..8ba22c48ac 100644 --- a/src/config/param.sun4x_511.h +++ b/src/config/param.sun4x_511.h @@ -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 diff --git a/src/config/param.sun4x_55.h b/src/config/param.sun4x_55.h index dd76ff6480..1d6a853e56 100644 --- a/src/config/param.sun4x_55.h +++ b/src/config/param.sun4x_55.h @@ -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 diff --git a/src/config/param.sun4x_56.h b/src/config/param.sun4x_56.h index fbf2587d54..7967e6da4e 100644 --- a/src/config/param.sun4x_56.h +++ b/src/config/param.sun4x_56.h @@ -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 diff --git a/src/config/param.sun4x_57.h b/src/config/param.sun4x_57.h index ce7ab8e65c..a1ca9ae6fc 100644 --- a/src/config/param.sun4x_57.h +++ b/src/config/param.sun4x_57.h @@ -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 diff --git a/src/config/param.sun4x_58.h b/src/config/param.sun4x_58.h index 02f77e6420..d663575e48 100644 --- a/src/config/param.sun4x_58.h +++ b/src/config/param.sun4x_58.h @@ -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 diff --git a/src/config/param.sun4x_59.h b/src/config/param.sun4x_59.h index 62a198153b..46d62de7e5 100644 --- a/src/config/param.sun4x_59.h +++ b/src/config/param.sun4x_59.h @@ -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 diff --git a/src/config/param.sunx86_510.h b/src/config/param.sunx86_510.h index 88b4cb2548..d65e8e0a32 100644 --- a/src/config/param.sunx86_510.h +++ b/src/config/param.sunx86_510.h @@ -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 diff --git a/src/config/param.sunx86_511.h b/src/config/param.sunx86_511.h index 964687b207..afcf702170 100644 --- a/src/config/param.sunx86_511.h +++ b/src/config/param.sunx86_511.h @@ -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 diff --git a/src/config/param.sunx86_54.h b/src/config/param.sunx86_54.h index 43156c5e1d..35937cd2ba 100644 --- a/src/config/param.sunx86_54.h +++ b/src/config/param.sunx86_54.h @@ -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) */ diff --git a/src/config/param.sunx86_57.h b/src/config/param.sunx86_57.h index 8dd0b1538a..98902c1cb8 100644 --- a/src/config/param.sunx86_57.h +++ b/src/config/param.sunx86_57.h @@ -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 diff --git a/src/config/param.sunx86_58.h b/src/config/param.sunx86_58.h index 3f8cec6d69..31c2f32058 100644 --- a/src/config/param.sunx86_58.h +++ b/src/config/param.sunx86_58.h @@ -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 diff --git a/src/config/param.sunx86_59.h b/src/config/param.sunx86_59.h index 507e437e31..abdcdd1442 100644 --- a/src/config/param.sunx86_59.h +++ b/src/config/param.sunx86_59.h @@ -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