Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1340280
| From | green@linuxhacker.ru |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 06/56] staging/lustre: Get rid of quota_cmd_t typedef |
| Date | 2016-02-23 05:20 +0100 |
| Message-ID | <r5cC7-8ka-35@gated-at.bofh.it> (permalink) |
| References | <r5csp-8gx-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Oleg Drokin <green@linuxhacker.ru>
Replace it with enum quota_cmd
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
---
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
index 50e70fe..c0b05d4 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2006,11 +2006,11 @@ void lustre_swab_lquota_lvb(struct lquota_lvb *lvb);
#define lvb_glb_ver lvb_id_may_rel /* current version of the global index */
/* op codes */
-typedef enum {
+enum quota_cmd {
QUOTA_DQACQ = 601,
QUOTA_DQREL = 602,
QUOTA_LAST_OPC
-} quota_cmd_t;
+};
#define QUOTA_FIRST_OPC QUOTA_DQACQ
/*
--
2.1.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/56] More Lustre cleanups. green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 06/56] staging/lustre: Get rid of quota_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 19/56] staging/lustre: Get rid of ldlm_error_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 18/56] staging/lustre: Get rid of lustre_quota_version typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 07/56] staging/lustre: Get rid of mds_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 14/56] staging/lustre: Get rid of sec_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 04/56] stagig/lustre: Get rid of cksum_type_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 12/56] staging/lustre: Get rid of obd_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100
csiph-web