]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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)
committerStephan Wiesand <stephan.wiesand@desy.de>
Mon, 25 Mar 2013 19:50:58 +0000 (12:50 -0700)
commitf5f50b9f31aa4eb86f53a085b01f13955434c80a
tree91c4124d178c1a43afdd9e31af42f89e3a01956a
parent5f983ae0b97fee5bd56bb939a5dc5a4fc78b44bc
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

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>
(cherry picked from commit ea0441520138d2129b5c6b2bd16c7640a8680146)

Change-Id: Ic3828198e43403506f991455f09924387b483879
Reviewed-on: http://gerrit.openafs.org/9534
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/viced/afsfileprocs.c