summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2016-02-24 21:59:54 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-25 22:05:50 -0800
commit52ee0d20c1256194f89a6cfbd387ab851ee565e4 (patch)
tree130eef18ac2a962907a6f4e933b8f58eb485c42a /drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
parent980b745ffc7e59d2b3c1e228bdf11c94e0415696 (diff)
downloadop-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_extent.c')
-rw-r--r--drivers/staging/lustre/lustre/ldlm/ldlm_extent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c b/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
index aa92682..f07a077 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
@@ -144,7 +144,7 @@ struct ldlm_interval *ldlm_interval_detach(struct ldlm_lock *l)
return list_empty(&n->li_group) ? n : NULL;
}
-static inline int lock_mode_to_index(ldlm_mode_t mode)
+static inline int lock_mode_to_index(enum ldlm_mode mode)
{
int index;
OpenPOWER on IntegriCloud