staging/lustre: Get rid of obd_cmd_t typedef

Replace with enum obd_cmd

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oleg Drokin 2016-02-24 21:59:56 -05:00 committed by Greg Kroah-Hartman
parent 66423bff9e
commit deadbe9a6a

View File

@ -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 */