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


Groups > linux.kernel > #1340267 > unrolled thread

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

#1340267 — [PATCH 05/56] staging/lustre: Get rid of ost_cmd_t typedef

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

Replace it with enum ost_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 0f37b61..50e70fe 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -1419,7 +1419,7 @@ enum cksum_type {
  */
 
 /* opcodes */
-typedef enum {
+enum ost_cmd {
 	OST_REPLY      =  0,       /* reply ? */
 	OST_GETATTR    =  1,
 	OST_SETATTR    =  2,
@@ -1440,7 +1440,7 @@ typedef enum {
 	OST_QUOTACTL   = 19,
 	OST_QUOTA_ADJUST_QUNIT = 20, /* not used since 2.4 */
 	OST_LAST_OPC
-} ost_cmd_t;
+};
 #define OST_FIRST_OPC  OST_REPLY
 
 enum obdo_flags {
-- 
2.1.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web