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_resource.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_resource.c')
-rw-r--r-- | drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c b/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c index fede185..f9d0383 100644 --- a/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_resource.c @@ -1065,7 +1065,8 @@ static struct ldlm_resource *ldlm_resource_new(void) */ struct ldlm_resource * ldlm_resource_get(struct ldlm_namespace *ns, struct ldlm_resource *parent, - const struct ldlm_res_id *name, ldlm_type_t type, int create) + const struct ldlm_res_id *name, enum ldlm_type type, + int create) { struct hlist_node *hnode; struct ldlm_resource *res; |