Implement _PC_FILESIZEBITS for solaris pathconf
[openafs.git] / src / afs / SOLARIS / osi_vnodeops.c
index e2302db..12a06e7 100644 (file)
@@ -1120,6 +1120,13 @@ afs_pathconf(struct vnode *vp, int cmd, u_long *outdatap,
     case _PC_NO_TRUNC:
        *outdatap = 1;
        break;
+    case _PC_FILESIZEBITS:
+#ifdef AFS_64BIT_CLIENT
+       *outdatap = 64;
+#else
+       *outdatap = 32;
+#endif
+       break;
     default:
        return EINVAL;
     }