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


Groups > linux.kernel > #1340270 > unrolled thread

[PATCH 09/56] staging/lustre: Get rid of ldlm_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 09/56] staging/lustre: Get rid of ldlm_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100

#1340270 — [PATCH 09/56] staging/lustre: Get rid of ldlm_cmd_t typedef

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

Replace it with enum ldlm_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 bd8b622..938f91b 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2659,7 +2659,7 @@ void lustre_swab_lov_desc(struct lov_desc *ld);
  *   LDLM requests:
  */
 /* opcodes -- MUST be distinct from OST/MDS opcodes */
-typedef enum {
+enum ldlm_cmd {
 	LDLM_ENQUEUE     = 101,
 	LDLM_CONVERT     = 102,
 	LDLM_CANCEL      = 103,
@@ -2668,7 +2668,7 @@ typedef enum {
 	LDLM_GL_CALLBACK = 106,
 	LDLM_SET_INFO    = 107,
 	LDLM_LAST_OPC
-} ldlm_cmd_t;
+};
 #define LDLM_FIRST_OPC LDLM_ENQUEUE
 
 #define RES_NAME_SIZE 4
-- 
2.1.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web