Whamcloud - gitweb
[liblustre]: various user level compile fixes in lov, lvfs, mdc, obdclass,
authorericm <ericm>
Thu, 11 Sep 2003 09:17:08 +0000 (09:17 +0000)
committerericm <ericm>
Thu, 11 Sep 2003 09:17:08 +0000 (09:17 +0000)
osc, include. prepare to build in liblustre.

lustre/mdc/mdc_internal.h

index 6d212fd..620a202 100644 (file)
@@ -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