Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340269 > unrolled thread

[PATCH 11/56] staging/lustre: Get rid of mgs_cmd_t typedef

Started bygreen@linuxhacker.ru
First post2016-02-23 05:20 +0100
Last post2016-02-23 05:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 11/56] staging/lustre: Get rid of mgs_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100

#1340269 — [PATCH 11/56] staging/lustre: Get rid of mgs_cmd_t typedef

Fromgreen@linuxhacker.ru
Date2016-02-23 05:20 +0100
Subject[PATCH 11/56] staging/lustre: Get rid of mgs_cmd_t typedef
Message-ID<r5cC5-8ka-7@gated-at.bofh.it>
From: Oleg Drokin <green@linuxhacker.ru>

Replace it with enum mgs_cmd

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
---
 drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.1.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web