From 28e931f19ce9864c9396933c15c3229fd9c2ede1 Mon Sep 17 00:00:00 2001 From: braam Date: Mon, 24 Jun 2002 06:24:19 +0000 Subject: [PATCH] - mds compile fixes --- lustre/mds/handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 39fc411..4afe7fb 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -257,7 +257,7 @@ static int mds_disconnect(struct mds_obd *mds, struct ptlrpc_request *req) RETURN(0); } -int mds_lock_callback(struct lustre_handle *lockh, struct ldlm_lock *new, +int mds_lock_callback(struct lustre_handle *lockh, struct ldlm_lock_desc *desc, void *data, int data_len, struct ptlrpc_request **reqp) { ENTRY; @@ -267,7 +267,7 @@ int mds_lock_callback(struct lustre_handle *lockh, struct ldlm_lock *new, RETURN(0); } - if (ldlm_cancel(lockh) < 0) + if (ldlm_cli_cancel(lockh) < 0) LBUG(); RETURN(0); } -- 1.8.3.1