]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Implement _PC_FILESIZEBITS for solaris pathconf
authorAndrew Deason <adeason@sinenomine.net>
Mon, 21 Sep 2009 21:57:01 +0000 (16:57 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 23 Sep 2009 23:52:35 +0000 (16:52 -0700)
commit970f82454dc6143a8231a988dd1e5c2c06602685
tree1099d51c2e0eb629557e7e40b48b0bcf2efd37ed
parent49094ccfa62f4c0e99069423f3215544da2244d6
Implement _PC_FILESIZEBITS for solaris pathconf

Using recent NFS clients and servers with the translator under Solaris
causes AFS to be queried for the _PC_FILESIZEBITS pathconf value. Right
now we don't implement it and return EINVAL, causing at least some
modern NFS clients to be unable to mount AFS via the translator on at
least some modern NFS servers.

So, return _PC_FILESIZEBITS as either 32 or 64, depending on whether we
are a 64-bit client or not.

Reviewed-on: http://gerrit.openafs.org/481
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 40b18318e4a04a323dbdd9e3c4a73d3b2e92104d)
Reviewed-on: http://gerrit.openafs.org/490
src/afs/SOLARIS/osi_vnodeops.c