mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
afsd: CellItems doesn't apply to memcache mode
avoid a potential panic from passing a bogus path into the kernel for evaluation, in memcache mode. Change-Id: Iaa11eded2e8946207f7df9e77c3de1e5ff4f963e Reviewed-on: http://gerrit.openafs.org/3651 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
6d03eef721
commit
6edcb18304
@ -2307,10 +2307,12 @@ afsd_run(void)
|
||||
* Pass the kernel the name of the workstation cache file holding the
|
||||
* cell information.
|
||||
*/
|
||||
if (afsd_debug)
|
||||
printf("%s: Calling AFSOP_CELLINFO: cell info file is '%s'\n", rn,
|
||||
fullpn_CellInfoFile);
|
||||
if (!(cacheFlags & AFSCALL_INIT_MEMCACHE)) {
|
||||
if (afsd_debug)
|
||||
printf("%s: Calling AFSOP_CELLINFO: cell info file is '%s'\n", rn,
|
||||
fullpn_CellInfoFile);
|
||||
afsd_call_syscall(AFSOP_CELLINFO, fullpn_CellInfoFile);
|
||||
}
|
||||
|
||||
if (rxmaxmtu) {
|
||||
if (afsd_verbose)
|
||||
|
Loading…
Reference in New Issue
Block a user