Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342757 > unrolled thread

[PATCH v2 04/84] staging/lustre: Get rid of loc_flags_t typedef

Started bygreen@linuxhacker.ru
First post2016-02-25 04:30 +0100
Last post2016-02-25 04:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 04/84] staging/lustre: Get rid of loc_flags_t typedef green@linuxhacker.ru - 2016-02-25 04:30 +0100

#1342757 — [PATCH v2 04/84] staging/lustre: Get rid of loc_flags_t typedef

Fromgreen@linuxhacker.ru
Date2016-02-25 04:30 +0100
Subject[PATCH v2 04/84] staging/lustre: Get rid of loc_flags_t typedef
Message-ID<r5UMO-6eo-3@gated-at.bofh.it>
From: Oleg Drokin <green@linuxhacker.ru>

Replace it with direct reference of enum loc_flags

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
---
 drivers/staging/lustre/lustre/include/lu_object.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lustre/include/lu_object.h b/drivers/staging/lustre/lustre/include/lu_object.h
index c1c7aa1..23e5567 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;
 };
 
 /**
-- 
2.1.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web