From c68c9730b9f9913e2c0a2dfed91cac31c90ad8fc Mon Sep 17 00:00:00 2001 From: ericm Date: Thu, 11 Sep 2003 09:17:08 +0000 Subject: [PATCH] [liblustre]: various user level compile fixes in lov, lvfs, mdc, obdclass, osc, include. prepare to build in liblustre. --- lustre/mdc/mdc_internal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre/mdc/mdc_internal.h b/lustre/mdc/mdc_internal.h index 6d212fd..620a202 100644 --- a/lustre/mdc/mdc_internal.h +++ b/lustre/mdc/mdc_internal.h @@ -40,7 +40,6 @@ static inline void mdc_init_rpc_lock(struct mdc_rpc_lock *lck) lck->rpcl_it = NULL; } -#ifdef __KERNEL__ static inline void mdc_get_rpc_lock(struct mdc_rpc_lock *lck, struct lookup_intent *it) { @@ -66,4 +65,3 @@ static inline void mdc_put_rpc_lock(struct mdc_rpc_lock *lck, up(&lck->rpcl_sem); } } -#endif -- 1.8.3.1