[lustre-devel] [PATCH 08/56] staging/lustre: Get rid of mds_reint_t, mdt_reint_t typedefs

green at linuxhacker.ru green at linuxhacker.ru
Mon Feb 22 18:53:46 PST 2016


From: Oleg Drokin <green at linuxhacker.ru>

Replace with enum mdt_reint_cmd

Signed-off-by: Oleg Drokin <green at 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 a72fed0..bd8b622 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2065,7 +2065,7 @@ typedef enum {
  * Do not exceed 63
  */
 
-typedef enum {
+enum mdt_reint_cmd {
 	REINT_SETATTR  = 1,
 	REINT_CREATE   = 2,
 	REINT_LINK     = 3,
@@ -2076,7 +2076,7 @@ typedef enum {
 	REINT_RMENTRY  = 8,
 //      REINT_WRITE    = 9,
 	REINT_MAX
-} mds_reint_t, mdt_reint_t;
+};
 
 void lustre_swab_generic_32s(__u32 *val);
 
-- 
2.1.0



More information about the lustre-devel mailing list