OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_5-77-gff472ae
Gerrit Code Review
gerrit@openafs.org
Thu, 12 Sep 2013 11:37:09 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit ff472ae83739de3f10900da272ae389defa259a1
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Mar 26 17:50:31 2013 -0500
volser: Make VolListOneVolume errors consistent
Currently, VolXListOneVolume errors out with ENODEV if any attachment
error occurs with the specified volume. But VolListOneVolume always
returns success if it can find the indicated volume, and any
attachment errors and such are reported in the 'status' field of the
volume info structure.
These two functions do pretty much the same thing; VolXListOneVolume
just provides more info than VolListOneVolume. So make them behave the
same way, and provide more specific information, whether or not
somebody ran 'vos examine' or 'vos examine -extended'.
The 'vos' binary has always handled errors in the 'status' volume info
structure for both "extended" and non-"extended" queries. This
difference appears to just have been a mistake from OpenAFS 1.0.
Reviewed-on: http://gerrit.openafs.org/9680
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 199cfb4a885b98b583f538ed14dff7ec5c9f9990)
Change-Id: I397c6b49eb7cfaef1c4dae16c1158dc0411701a3
Reviewed-on: http://gerrit.openafs.org/9916
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/volser/volprocs.c | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
--
OpenAFS Master Repository