aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Drokin <[email protected]>2016-02-24 21:59:56 -0500
committerGreg Kroah-Hartman <[email protected]>2016-02-25 22:05:50 -0800
commitdeadbe9a6a99d16f80d0eaca7dcbdfcf4f87dc4a (patch)
tree725918c7b065dbc76a0151741070ed0cee1f488e
parent66423bff9eb299389f9dd7e892f4e3e8d79f9810 (diff)
staging/lustre: Get rid of obd_cmd_t typedef
Replace with enum obd_cmd Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/lustre/lustre/include/lustre/lustre_idl.h4
1 files 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 19a99c537c53..27ee85354aae 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 */