]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Do not turn off AFS_HAVE_STATVFS for UKERNEL
authorAndrew Deason <adeason@sinenomine.net>
Mon, 12 Apr 2010 17:39:00 +0000 (12:39 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 13 Apr 2010 00:15:03 +0000 (17:15 -0700)
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>
25 files changed:
src/config/param.alpha_dux40.h
src/config/param.alpha_dux50.h
src/config/param.alpha_dux51.h
src/config/param.hp_ux102.h
src/config/param.hp_ux110.h
src/config/param.hp_ux11i.h
src/config/param.rs_aix42.h
src/config/param.rs_aix51.h
src/config/param.rs_aix52.h
src/config/param.rs_aix53.h
src/config/param.rs_aix61.h
src/config/param.sgi_65.h
src/config/param.sun4x_510.h
src/config/param.sun4x_511.h
src/config/param.sun4x_55.h
src/config/param.sun4x_56.h
src/config/param.sun4x_57.h
src/config/param.sun4x_58.h
src/config/param.sun4x_59.h
src/config/param.sunx86_510.h
src/config/param.sunx86_511.h
src/config/param.sunx86_54.h
src/config/param.sunx86_57.h
src/config/param.sunx86_58.h
src/config/param.sunx86_59.h

index 675c5730245a785ae48f6211b2fbdc310e47d973..870e0c632f1f206b963485c264760bf496a14610 100644 (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) */
index ab09a159850adb6a9e37533382936bbc8394ba7d..79e89bb90f4167f50c425f0f41c481f73d7e1751 100644 (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) */
index c3d712bbf2709c965a1b4c6b3518211372c1a49e..7020a89b07bc166bac419106b984bc346ab71f6b 100644 (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) */
index 420a158f5eacb6beeeeebcddfef6641333fe35ae..e33eb00439015ca13dc4b701af940a5130d1a118 100644 (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
index 5e3399183d21178008b2785af60984b1184f1b4e..14fc5bf8b95daf0754c9a547d83f46ca799f688b 100644 (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
index 80a209546bbaa87fcb7f0dc0e890d7f251fd3da7..db615143431e88038596be293027e1e94079a0ce 100644 (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
index d17eb3bfe4b24f57bab80461a8913ebdac1e146c..e2bbfb45ac8a6a8628063258e3bfaed0b6f7a1b1 100644 (file)
 #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
index 83cb052b583b1f6de2e588986b886252374fdb63..a856b273ae2f6b5c93c45afe19945b7ca17eef9e 100644 (file)
 #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
index 7a8b5978d04122b01c38fde21c274e7dbbadfd75..b51903aaae41611fb7f2318d0e4476fd9ed91178 100644 (file)
 #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
index 4495ff69f1ccc139f4a63a41c9ab648128218549..f3473c35c8b492e51906875fbfed0b35b962ebde 100644 (file)
 #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
index 51c4cf8c77cbcde5aa0795443c73be291e5500ef..0a31dae857f311fd1134538fda28aa00cbf516ac 100644 (file)
 #define SYS_NAME_ID    SYS_NAME_ID_rs_aix51\r
 #define AFSBIG_ENDIAN  1\r
 #define AFS_HAVE_FFS            1      /* Use system's ffs. */\r
-#define AFS_HAVE_STATVFS       0       /* System doesn't support statvfs */\r
+#define AFS_HAVE_STATVFS       1       /* System supports statvfs */\r
 \r
 /* Extra kernel definitions (from kdefs file) */\r
 #ifdef KERNEL\r
index f45ea30cdc74804a542b97180f4f6ea00ab98068..eed5e93f9a2fae36efb6c267a867213ee3f4002a 100644 (file)
 #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. */
 
index f708de62663262ebc29be6eb62c746283e17a3c7..51ba830ba676b4d3a34e7bdba98ede8bceb9ebb3 100644 (file)
 #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
index a7a4d1f2bb9629c044da251fc3399b0640932805..8ba22c48acc5512ccd7155015b764c839946de48 100644 (file)
 #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
index dd76ff64805f3b1f02d26633e6b291f6b9874ac7..1d6a853e56b249961cf071dce318cc894f2169c9 100644 (file)
 #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
index fbf2587d549fc6063cd73afb8bb5e3746a424b66..7967e6da4e179f00e535ce3da9ee7272ec75c791 100644 (file)
 #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
index ce7ab8e65c2dc0341267870314c6ca857e67a4cf..a1ca9ae6fc5e75428c5369776a11c37e6f7bb51a 100644 (file)
 #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
index 02f77e6420cad25a7b6f7b548fc065410c9f47dc..d663575e4827c374e88b5866fc79400be5998820 100644 (file)
 #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
index 62a198153b90306205f013d0d14e0127335ad88b..46d62de7e579dfcd8e27bdddb9655dc1931b95aa 100644 (file)
 #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
index 88b4cb25480df8cb3508c2f7dce2002c9d091211..d65e8e0a32c2e37004656ac7f828e5616aa7c86e 100644 (file)
 #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
index 964687b207da13e4c15c1d07ded398f168dfff1f..afcf702170d2418e20cda3c2e506dc188997d7e9 100644 (file)
 #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
index 43156c5e1deada6bec620f24e8ed31665e98179b..35937cd2ba01bc7b677e7465c495c2b90128d9e7 100644 (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) */
index 8dd0b1538a37d3cb05c6c6505bdcfd846e700845..98902c1cb8fca0a6b66b979be3f415eafa176d69 100644 (file)
 #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
index 3f8cec6d69b17e2cdf7aef6b1aed57e2c3347ec9..31c2f32058fe4d09eb86b3e3ad76ef325d152de8 100644 (file)
 #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
index 507e437e31ce379587f0743a6b2a3c0e48098eac..abdcdd1442f5679b0e2b920f9f395bd6b5a24f06 100644 (file)
 #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