Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1340259
| Path | csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | green@linuxhacker.ru |
| Newsgroups | linux.kernel |
| Subject | [PATCH 03/56] staging/lustre: Get rid of loc_flags_t typedef |
| Date | Tue, 23 Feb 2016 05:10:04 +0100 |
| Message-ID | <r5css-8gx-67@gated-at.bofh.it> (permalink) |
| References | <r5csp-8gx-3@gated-at.bofh.it> |
| X-Mailer | git-send-email 2.1.0 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Lustre Development List <lustre-devel@lists.lustre.org>, Oleg Drokin <green@linuxhacker.ru> |
| X-Original-Date | Mon, 22 Feb 2016 21:53:41 -0500 |
| X-Original-Message-ID | <1456196074-754064-4-git-send-email-green@linuxhacker.ru> |
| X-Original-References | <1456196074-754064-1-git-send-email-green@linuxhacker.ru> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1340259 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 03/56] staging/lustre: Get rid of loc_flags_t typedef green@linuxhacker.ru - 2016-02-23 05:10 +0100
csiph-web