afsd: Avoid dir interpolation for memcache
authorAndrew Deason <adeason@sinenomine.net>
Mon, 21 May 2012 22:11:29 +0000 (17:11 -0500)
committerDerrick Brashear <shadow@dementix.org>
Tue, 22 May 2012 00:51:07 +0000 (17:51 -0700)
commit2e2bc535bd03df86f78b648f78d2d0a95d273fab
treeef11fc4e67c83298aa5a85960f964ff6a2d3dc73
parent6f6c799c4ba4d03c6c381738b2db8aafe741ba5e
afsd: Avoid dir interpolation for memcache

memcache doesn't make use of fullpn_DCacheFile, fullpn_VolInfoFile,
etc. Do not even try to generate these strings for memcache, since
cacheBaseDir will be NULL, and so this can cause a segfault on some
platforms including Solaris.

Change-Id: I0decdb9a8866272adf500125af7edb03c98e6bdc
Reviewed-on: http://gerrit.openafs.org/7442
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afsd/afsd.c