SOLARIS: Use vn_renamepath as early as possible
authorAndrew Deason <adeason@sinenomine.net>
Fri, 18 Jan 2013 20:27:16 +0000 (14:27 -0600)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 23 Jan 2013 19:33:22 +0000 (11:33 -0800)
commit1b63689b99b49d902dd5a3286b14dcccee88b4a2
tree1b513f46bf6ea33ef64f7b5b47ccc175cd2973be
parentf6f145c90fbc236c350ddaa4d18b359be581496f
SOLARIS: Use vn_renamepath as early as possible

Commit 6c509601 uses the vn_renamepath when we are building on Solaris
11. However, some recent patch level of Solaris 10 (more recent than
stock 10u10) has the same problem fixed by that commit, where
vn_setpath takes an additional argument. So instead, just test for the
existence of vn_renamepath itself, so we also use it on Solaris 10
when we can.

Thanks to Rich Sudlow for reporting this.

Change-Id: Ic1c0437d2438c6e19b8fff8278ecda9b96bd020b
Reviewed-on: http://gerrit.openafs.org/8920
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
acinclude.m4
src/afs/SOLARIS/osi_vnodeops.c
src/cf/solaris-renamepath.m4 [new file with mode: 0644]