SOLARIS: Support VSW_STATS
[openafs.git] / src / afs / SOLARIS / osi_vfsops.c
index 49f53bc..ebb5012 100644 (file)
@@ -459,7 +459,7 @@ static vfsdef_t afs_vfsdef = {
     VFSDEF_VERSION,
     "afs",
     afsinit,
-    0,
+    VSW_STATS,
     NULL
 };
 #else
@@ -467,7 +467,7 @@ static struct vfsdef_v3 afs_vfsdef = {
     VFSDEF_VERSION,
     "afs",
     afsinit,
-    0
+    VSW_STATS
 };
 #endif
 #else
@@ -488,7 +488,12 @@ static struct sysent afssysent = {
 #endif /* AFS_SUN511_ENV */
 
 /* inter-module dependencies */
-char _depends_on[] = "drv/ip drv/udp strmod/rpcmod";
+char _depends_on[] = 
+#if AFS_SUN510_ENV
+       "drv/ip drv/udp strmod/rpcmod fs/ufs";
+#else
+       "drv/ip drv/udp strmod/rpcmod";
+#endif
 
 /*
  * Info/Structs to link the afs module into the kernel