summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/common-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/common-utils.c')
-rw-r--r--libglusterfs/src/common-utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c
index 21fe384..bfddfc3 100644
--- a/libglusterfs/src/common-utils.c
+++ b/libglusterfs/src/common-utils.c
@@ -4327,8 +4327,9 @@ fop_enum_to_pri_string (glusterfs_fop_t fop)
case GF_FOP_MAXVALUE:
case GF_FOP_DISCARD:
return "LEAST";
+ default:
+ return "UNKNOWN";
}
- return "UNKNOWN";
}
const char *
@@ -4385,6 +4386,8 @@ fop_enum_to_string (glusterfs_fop_t fop)
"DISCARD",
"ZEROFILL",
"IPC",
+ "SEEK",
+ "COMPOUND",
"MAXVALUE"};
if (fop <= GF_FOP_MAXVALUE)
return str_map[fop];