viced: Allow GetCapabilities to return an error
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 22 Feb 2013 10:23:43 +0000 (10:23 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Feb 2013 19:43:26 +0000 (11:43 -0800)
commitea0441520138d2129b5c6b2bd16c7640a8680146
tree6589115d72d76ef0bbd36ef635a9c3883637e987
parent1d1ba5f74102ae703ef657aa19150729edfe6ab2
viced: Allow GetCapabilities to return an error

At the moment, the GetCapabilities RPC handler ignors errors from
CallPreamble or CallPostamble. Instead of silently swallowing these,
and potentially reutnring a bogus capabilities structure, make
it possible for the RPC to return failure to the caller.

Caught by clang-analyzer

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