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


Groups > linux.kernel > #1342766 > unrolled thread

[PATCH v2 13/84] staging/lustre: Get rid of obd_cmd_t typedef

Started bygreen@linuxhacker.ru
First post2016-02-25 04:30 +0100
Last post2016-02-25 04:30 +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 v2 13/84] staging/lustre: Get rid of obd_cmd_t typedef green@linuxhacker.ru - 2016-02-25 04:30 +0100

#1342766 — [PATCH v2 13/84] staging/lustre: Get rid of obd_cmd_t typedef

Fromgreen@linuxhacker.ru
Date2016-02-25 04:30 +0100
Subject[PATCH v2 13/84] staging/lustre: Get rid of obd_cmd_t typedef
Message-ID<r5UMP-6eo-21@gated-at.bofh.it>
From: Oleg Drokin <green@linuxhacker.ru>

Replace with enum obd_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 19a99c5..27ee853 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2918,13 +2918,13 @@ void lustre_swab_cfg_marker(struct cfg_marker *marker, int swab, int size);
  * Opcodes for multiple servers.
  */
 
-typedef enum {
+enum obd_cmd {
 	OBD_PING = 400,
 	OBD_LOG_CANCEL,
 	OBD_QC_CALLBACK,
 	OBD_IDX_READ,
 	OBD_LAST_OPC
-} obd_cmd_t;
+};
 #define OBD_FIRST_OPC OBD_PING
 
 /* catalog of log objects */
-- 
2.1.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web