Commit 426652f2 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre: Get rid of loc_flags_t typedef

Replace it with direct reference of enum loc_flags
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fef74397
...@@ -164,11 +164,11 @@ struct lu_device_operations { ...@@ -164,11 +164,11 @@ struct lu_device_operations {
/** /**
* For lu_object_conf flags * For lu_object_conf flags
*/ */
typedef enum { enum loc_flags {
/* This is a new object to be allocated, or the file /* This is a new object to be allocated, or the file
* corresponding to the object does not exists. */ * corresponding to the object does not exists. */
LOC_F_NEW = 0x00000001, LOC_F_NEW = 0x00000001,
} loc_flags_t; };
/** /**
* Object configuration, describing particulars of object being created. On * Object configuration, describing particulars of object being created. On
...@@ -179,7 +179,7 @@ struct lu_object_conf { ...@@ -179,7 +179,7 @@ struct lu_object_conf {
/** /**
* Some hints for obj find and alloc. * Some hints for obj find and alloc.
*/ */
loc_flags_t loc_flags; enum loc_flags loc_flags;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment