Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1340286
| From | green@linuxhacker.ru |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 12/56] staging/lustre: Get rid of obd_cmd_t typedef |
| Date | 2016-02-23 05:20 +0100 |
| Message-ID | <r5cC6-8ka-13@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 with enum obd_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 19a99c5..27ee853 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2918,13 +2918,13 @@ void lustre_swab_cfg_marker(struct cfg_marker *marker, int swab, int size);
* Opcodes for multiple servers.
*/
-typedef enum {
+enum obd_cmd {
OBD_PING = 400,
OBD_LOG_CANCEL,
OBD_QC_CALLBACK,
OBD_IDX_READ,
OBD_LAST_OPC
-} obd_cmd_t;
+};
#define OBD_FIRST_OPC OBD_PING
/* catalog of log objects */
--
2.1.0
Back to linux.kernel | Previous | Next — Previous 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