git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
ubik: Return an error from ContactQuorum when inquorate
[openafs.git]
/
src
/
ubik
/
ubik.c
diff --git
a/src/ubik/ubik.c
b/src/ubik/ubik.c
index
a22aaff
..
229c596
100644
(file)
--- a/
src/ubik/ubik.c
+++ b/
src/ubik/ubik.c
@@
-201,7
+201,7
@@
ContactQuorum_rcode(int okcalls, afs_int32 rcode)
if (okcalls + 1 >= ubik_quorum)
return 0;
else
- return rcode;
+ return (rcode != 0) ? rcode : UNOQUORUM;
}
/*!