diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2016-02-24 21:59:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-25 22:05:50 -0800 |
commit | 52ee0d20c1256194f89a6cfbd387ab851ee565e4 (patch) | |
tree | 130eef18ac2a962907a6f4e933b8f58eb485c42a /drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | |
parent | 980b745ffc7e59d2b3c1e228bdf11c94e0415696 (diff) | |
download | op-kernel-dev-52ee0d20c1256194f89a6cfbd387ab851ee565e4.zip op-kernel-dev-52ee0d20c1256194f89a6cfbd387ab851ee565e4.tar.gz |
staging/lustre: Remove ldlm type/mode typedefs
Replace ldlm_mode_t with enum ldlm_mode,
ldlm_type_t with enum ldlm_type
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/ldlm/ldlm_lib.c')
-rw-r--r-- | drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lib.c b/drivers/staging/lustre/lustre/ldlm/ldlm_lib.c index 0e25c45..68bf57b 100644 --- a/drivers/staging/lustre/lustre/ldlm/ldlm_lib.c +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_lib.c @@ -718,7 +718,7 @@ void target_send_reply(struct ptlrpc_request *req, int rc, int fail_id) } EXPORT_SYMBOL(target_send_reply); -ldlm_mode_t lck_compat_array[] = { +enum ldlm_mode lck_compat_array[] = { [LCK_EX] = LCK_COMPAT_EX, [LCK_PW] = LCK_COMPAT_PW, [LCK_PR] = LCK_COMPAT_PR, |