]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging/lustre: Get rid of ost_cmd_t typedef
authorOleg Drokin <green@linuxhacker.ru>
Thu, 25 Feb 2016 02:59:49 +0000 (21:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:05:50 +0000 (22:05 -0800)
Replace it with enum ost_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 0f37b615b2463d75ac21f42ab893d3e43659c544..50e70fee9d8f74de73d88118082a40741bb31124 100644 (file)
@@ -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 {