From: Derrick Brashear Date: Tue, 4 Dec 2007 21:03:33 +0000 (+0000) Subject: DEVEL15-inode-convertro-dont-include-volser-code-in-viced-20071204 X-Git-Tag: openafs-devel-1_5_28~13 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=85352be7633d951100b98cee2e48ef0357a91454;p=packages%2Fo%2Fopenafs.git DEVEL15-inode-convertro-dont-include-volser-code-in-viced-20071204 LICENSE IPL10 FIXES 77574 viced isn't an fssync client; avoid the convert volser code there (cherry picked from commit 58dd384ba4020c924604ab612276948803333549) --- diff --git a/src/vol/listinodes.c b/src/vol/listinodes.c index fff86a9e3..254a40f30 100644 --- a/src/vol/listinodes.c +++ b/src/vol/listinodes.c @@ -1642,6 +1642,7 @@ getDevName(char *pbuffer, char *wpath) return NULL; } +#ifdef FSSYNC_BUILD_CLIENT int inode_ConvertROtoRWvolume(char *pname, afs_int32 volumeId) { @@ -1787,4 +1788,5 @@ inode_ConvertROtoRWvolume(char *pname, afs_int32 volumeId) FSYNC_VolOp(h.id, pname, FSYNC_VOL_ON, 0, NULL); return 0; } +#endif /* FSSYNC_BUILD_CLIENT */ #endif /* AFS_NAMEI_ENV */