Unix CM: Catch ICL initialisation failures
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 21 Feb 2013 19:34:47 +0000 (19:34 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Feb 2013 19:27:01 +0000 (11:27 -0800)
commit3bbff16c6d34c905fab8fcb792c8606ea356e2a8
tree4a7610f9c54966322c6091235e4a443ed1ef6391
parentcb8a103cb73aaa229ba34abc1b9704ab7ad5ba02
Unix CM: Catch ICL initialisation failures

If afs_icl_CreateLog fails, don't still call afS_icl_CreateSet.
If afs_icl_CreateSetWithFlags fails, don't ignore its error code.

Caught by clang-analyzer

Change-Id: I245f4391bbbf183492e8c13fb8f091b339cea80a
Reviewed-on: http://gerrit.openafs.org/9203
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/afs/afs_icl.c