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


Groups > linux.kernel > #1342773

[PATCH v2 10/84] staging/lustre: Get rid of ldlm_cmd_t typedef

From green@linuxhacker.ru
Newsgroups linux.kernel
Subject [PATCH v2 10/84] staging/lustre: Get rid of ldlm_cmd_t typedef
Date 2016-02-25 04:30 +0100
Message-ID <r5UMP-6eo-33@gated-at.bofh.it> (permalink)
References <r5Uts-5ZP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/84] Lustre cleanups green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 27/84] staging/lustre: Remove FSF mailing address from GPL notices green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 24/84] staging/lustre: Remove lustre_build_version.h green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 06/84] staging/lustre: Get rid of ost_cmd_t typedef green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 07/84] staging/lustre: Get rid of quota_cmd_t typedef green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 29/84] staging/lustre: Remove *_CONNECT_SUPPORTED defines green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 10/84] staging/lustre: Get rid of ldlm_cmd_t typedef green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 18/84] staging/lustre: Get rid of lustre_quota_version typedef green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 25/84] staging/lustre: Get rid of C99 comments in lustre_idl.h green@linuxhacker.ru - 2016-02-25 04:30 +0100
  [PATCH v2 11/84] staging/lustre: Remove ldlm type/mode typedefs green@linuxhacker.ru - 2016-02-25 04:30 +0100

csiph-web