From: Oleg Drokin Date: Thu, 25 Feb 2016 02:59:47 +0000 (-0500) Subject: staging/lustre: Get rid of loc_flags_t typedef X-Git-Tag: next-20160301~20^2~114 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=426652f28a58318a08550b35cdc57551a6f3e965;p=karo-tx-linux.git staging/lustre: Get rid of loc_flags_t typedef Replace it with direct reference of enum loc_flags Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/include/lu_object.h b/drivers/staging/lustre/lustre/include/lu_object.h index c1c7aa1bc484..23e5567d2481 100644 --- a/drivers/staging/lustre/lustre/include/lu_object.h +++ b/drivers/staging/lustre/lustre/include/lu_object.h @@ -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; }; /**