From: Andrew Deason Date: Mon, 12 Apr 2010 17:39:00 +0000 (-0500) Subject: Do not turn off AFS_HAVE_STATVFS for UKERNEL X-Git-Tag: openafs-devel-1_5_74~37 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=edbfcbdf0efa01fde56c9f8d857b495a86f24a14;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/config/param.alpha_dux40.h b/src/config/param.alpha_dux40.h index 675c57302..870e0c632 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 ab09a1598..79e89bb90 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 c3d712bbf..7020a89b0 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 420a158f5..e33eb0043 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 5e3399183..14fc5bf8b 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 80a209546..db6151434 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 d17eb3bfe..e2bbfb45a 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 83cb052b5..a856b273a 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 7a8b5978d..b51903aaa 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 4495ff69f..f3473c35c 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 51c4cf8c7..0a31dae85 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 f45ea30cd..eed5e93f9 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 f708de626..51ba830ba 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 a7a4d1f2b..8ba22c48a 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 dd76ff648..1d6a853e5 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 fbf2587d5..7967e6da4 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 ce7ab8e65..a1ca9ae6f 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 02f77e642..d663575e4 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 62a198153..46d62de7e 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 88b4cb254..d65e8e0a3 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 964687b20..afcf70217 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 43156c5e1..35937cd2b 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 8dd0b1538..98902c1cb 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 3f8cec6d6..31c2f3205 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 507e437e3..abdcdd144 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