From: James Simmons Date: Mon, 16 Jan 2017 21:30:33 +0000 (-0500) Subject: staging: lustre: lnet: change lst_brw_[type|flags]_t to proper enum X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c65aa798fd3d515de3b4400496a9bcc47768586;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6142 Reviewed-on: https://review.whamcloud.com/24188 Reviewed-by: Andreas Dilger Reviewed-by: Doug Oucharek Signed-off-by: James Simmons Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h index fdab4b640eff..0279e090157d 100644 --- a/drivers/staging/lustre/include/linux/lnet/lnetst.h +++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h @@ -474,16 +474,16 @@ struct lstio_test_args { result buffer */ }; -typedef enum { +enum lst_brw_type { LST_BRW_READ = 1, LST_BRW_WRITE = 2 -} lst_brw_type_t; +}; -typedef enum { +enum lst_brw_flags { LST_BRW_CHECK_NONE = 1, LST_BRW_CHECK_SIMPLE = 2, LST_BRW_CHECK_FULL = 3 -} lst_brw_flags_t; +}; typedef struct { int blk_opc; /* bulk operation code */