volser: Actually return errors from ListOneVolume
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 13 Jul 2011 13:33:57 +0000 (14:33 +0100)
committerDerrick Brashear <shadow@dementia.org>
Wed, 13 Jul 2011 22:18:47 +0000 (15:18 -0700)
commit53cc2ebaea5e5488d5285f0d13ffa47069ee986f
tree3679a533f72586fae845786b4b08551f751683f6
parent9bb81711a545122bba36c525095aebfe52e73168
volser: Actually return errors from ListOneVolume

The return code from GetVolInfo was being thrown away, and success
returned to the caller, regardless of the success of this function.
As GetVolInfo's exit codes aren't suitable for sending over the wire,
just return ENODEV if this function returns failure.

Change-Id: Ie4adbbd98f5006a9aa50ed9bf73ea9e4344fabf3
Reviewed-on: http://gerrit.openafs.org/5000
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/volser/volprocs.c