diff options
author | Amar Tumballi <amar@kadalu.io> | 2020-07-20 23:05:10 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-07-21 07:18:20 +0000 |
commit | 0696c330fadd34430394e23712450f89d924ea55 (patch) | |
tree | dc82d5d51763a220c6da009f4e6142b55fc904ce /xlators/cluster/ec/src/ec-common.c | |
parent | d05a2332bf5f0a92c57f99de06476d4a78c65baa (diff) |
glusterfs.h: add IS_ERROR() and IS_SUCCESS() macro
These macros helps to clearly identify all negetive checks are 'errors',
and all 0 and above are success. With this clasification, we can add more
error codes to the process / method / function.
Updates: #280
Change-Id: I0ebc5c4ad41eb78e4f2c1b98648986be62e7b521
Signed-off-by: Amar Tumballi <amar@kadalu.io>
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
0 files changed, 0 insertions, 0 deletions