staging/lustre: Get rid of mgs_cmd_t typedef
authorOleg Drokin <green@linuxhacker.ru>
Thu, 25 Feb 2016 02:59:55 +0000 (21:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:05:50 +0000 (22:05 -0800)
Replace it with enum mgs_cmd

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h

index d3fb6f9e6bdb319e948e5606038019ad60b50f08..19a99c537c53277504e0b8f436d64c8648d4f44d 100644 (file)
@@ -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