From: Oleg Drokin Date: Thu, 25 Feb 2016 02:59:55 +0000 (-0500) Subject: staging/lustre: Get rid of mgs_cmd_t typedef X-Git-Tag: v5.15~14007^2~521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66423bff9eb299389f9dd7e892f4e3e8d79f9810;p=platform%2Fkernel%2Flinux-starfive.git staging/lustre: Get rid of mgs_cmd_t typedef Replace it with enum mgs_cmd Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h index d3fb6f9..19a99c5 100644 --- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h @@ -2820,7 +2820,7 @@ void lustre_swab_ldlm_reply(struct ldlm_reply *r); /* * Opcodes for mountconf (mgs and mgc) */ -typedef enum { +enum mgs_cmd { MGS_CONNECT = 250, MGS_DISCONNECT, MGS_EXCEPTION, /* node died, etc. */ @@ -2829,7 +2829,7 @@ typedef enum { MGS_SET_INFO, MGS_CONFIG_READ, MGS_LAST_OPC -} mgs_cmd_t; +}; #define MGS_FIRST_OPC MGS_CONNECT #define MGS_PARAM_MAXLEN 1024