Commit 0c65aa79 authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman

staging: lustre: lnet: change lst_brw_[type|flags]_t to proper enum

Change lst_brw_[type|flags]_t from typedef to proper enum.
Signed-off-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142
Reviewed-on: https://review.whamcloud.com/24188Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarDoug Oucharek <doug.s.oucharek@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 538a9269
...@@ -474,16 +474,16 @@ struct lstio_test_args { ...@@ -474,16 +474,16 @@ struct lstio_test_args {
result buffer */ result buffer */
}; };
typedef enum { enum lst_brw_type {
LST_BRW_READ = 1, LST_BRW_READ = 1,
LST_BRW_WRITE = 2 LST_BRW_WRITE = 2
} lst_brw_type_t; };
typedef enum { enum lst_brw_flags {
LST_BRW_CHECK_NONE = 1, LST_BRW_CHECK_NONE = 1,
LST_BRW_CHECK_SIMPLE = 2, LST_BRW_CHECK_SIMPLE = 2,
LST_BRW_CHECK_FULL = 3 LST_BRW_CHECK_FULL = 3
} lst_brw_flags_t; };
typedef struct { typedef struct {
int blk_opc; /* bulk operation code */ int blk_opc; /* bulk operation code */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment