Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66423bff authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre: Get rid of mgs_cmd_t typedef



Replace it with enum mgs_cmd

Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52ee0d20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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