]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/lustre: Get rid of mds_reint_t, mdt_reint_t typedefs
authorOleg Drokin <green@linuxhacker.ru>
Thu, 25 Feb 2016 02:59:52 +0000 (21:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:05:50 +0000 (22:05 -0800)
Replace with enum mdt_reint_cmd

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h

index a72fed0ed171f48d86cacac7a57b3e018c1acada..bd8b62244b44cd85d0caca370c0b19fff1001903 100644 (file)
@@ -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);