diff options
-rw-r--r-- | api/src/gfapi-messages.h | 2 | ||||
-rw-r--r-- | api/src/glfs-mgmt.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api/src/gfapi-messages.h b/api/src/gfapi-messages.h index 6e131b5a295..b4ecefbeb56 100644 --- a/api/src/gfapi-messages.h +++ b/api/src/gfapi-messages.h @@ -58,7 +58,7 @@ #define API_MSG_FSMUTEX_UNLOCK_FAILED (GLFS_GFAPI_BASE + 10) #define API_MSG_INODE_REFRESH_FAILED (GLFS_GFAPI_BASE + 11) #define API_MSG_GRAPH_CONSTRUCT_FAILED (GLFS_GFAPI_BASE + 12) -#define API_MSG_FUSE_XLATOR_ERROR (GLFS_GFAPI_BASE + 13) +#define API_MSG_API_XLATOR_ERROR (GLFS_GFAPI_BASE + 13) #define API_MSG_XDR_PAYLOAD_FAILED (GLFS_GFAPI_BASE + 14) #define API_MSG_GET_VOLINFO_CBK_FAILED (GLFS_GFAPI_BASE + 15) #define API_MSG_FETCH_VOLUUID_FAILED (GLFS_GFAPI_BASE + 16) diff --git a/api/src/glfs-mgmt.c b/api/src/glfs-mgmt.c index 3c8b3b0102f..1bfebcf2d03 100644 --- a/api/src/glfs-mgmt.c +++ b/api/src/glfs-mgmt.c @@ -61,10 +61,10 @@ glfs_process_volfp (struct glfs *fs, FILE *fp) } for (trav = graph->first; trav; trav = trav->next) { - if (strcmp (trav->type, "mount/fuse") == 0) { + if (strcmp (trav->type, "mount/api") == 0) { gf_msg ("glfs", GF_LOG_ERROR, EINVAL, - API_MSG_FUSE_XLATOR_ERROR, - "fuse xlator cannot be specified " + API_MSG_API_XLATOR_ERROR, + "api master xlator cannot be specified " "in volume file"); goto out; } |