staging/lustre: Get rid of loc_flags_t typedef
authorOleg Drokin <green@linuxhacker.ru>
Thu, 25 Feb 2016 02:59:47 +0000 (21:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:05:50 +0000 (22:05 -0800)
Replace it with direct reference of enum loc_flags

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

index c1c7aa1bc48413bee9c975ca916544993ba2a86b..23e5567d24812941c44f792322d7f10504e6c86e 100644 (file)
@@ -164,11 +164,11 @@ struct lu_device_operations {
 /**
  * For lu_object_conf flags
  */
-typedef enum {
+enum loc_flags {
        /* This is a new object to be allocated, or the file
         * corresponding to the object does not exists. */
        LOC_F_NEW       = 0x00000001,
-} loc_flags_t;
+};
 
 /**
  * Object configuration, describing particulars of object being created. On
@@ -179,7 +179,7 @@ struct lu_object_conf {
        /**
         * Some hints for obj find and alloc.
         */
-       loc_flags_t     loc_flags;
+       enum loc_flags     loc_flags;
 };
 
 /**