[PATCH v2 09/84] staging/lustre: Get rid of mds_reint_t, mdt_reint_t typedefs

From: green
Date: Wed Feb 24 2016 - 22:01:57 EST


From: Oleg Drokin <green@xxxxxxxxxxxxxx>

Replace with enum mdt_reint_cmd

Signed-off-by: Oleg Drokin <green@xxxxxxxxxxxxxx>
---
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