diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-04-06 05:21:29 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-06 22:04:48 +0530 |
commit | 258fec70ba2cc588f500f3e3bc16c99af212b4c9 (patch) | |
tree | a87c7c365383674f7b20a40c74fec5a25be3b9df /xlators/storage | |
parent | 6b18487d2811b4fb004d0f4c5c98a101a93b35ed (diff) |
Fix in return value of afr_sh_mark_sources
afr_sh_mark_sources now returns:
-1 if two wise subvols conflict (split-brain)
0 if all subvols are innocent (no self-heal needed)
>0 if sources found
Also, changes to callers of afr_sh_mark_sources to handle return
value properly.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions