mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
afsd: honor the -nbiods option
The commit:
"afsd: Move to newer cmd syntax" (fbe6f0f4ad
)
removed setting the flag variable "sawBiods" when the -nbiods option is
used, this results in the -nbiods value being ignored and the default
value being used.
This problem was identified by the cppcheck static analysis tool.
Note: The -nbiods option is only for AIX systems.
Change-Id: I9a8d199a212a164660c1e9f8b4151792d9c9d0e0
Reviewed-on: https://gerrit.openafs.org/15212
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
094066b485
commit
df010f3e7c
@ -2228,6 +2228,7 @@ CheckOptions(struct cmd_syndesc *as)
|
||||
("afsd: [-biods] currently only enabled for aix3.x VM supported systems\n");
|
||||
#else
|
||||
cmd_OptionAsInt(as, OPT_biods, &nBiods);
|
||||
sawBiod = 1;
|
||||
#endif
|
||||
}
|
||||
cmd_OptionAsInt(as, OPT_prealloc, &preallocs);
|
||||
|
Loading…
Reference in New Issue
Block a user