Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c2193
)
[liblustre]: various user level compile fixes in lov, lvfs, mdc, obdclass,
author
ericm
<ericm>
Thu, 11 Sep 2003 09:17:08 +0000
(09:17 +0000)
committer
ericm
<ericm>
Thu, 11 Sep 2003 09:17:08 +0000
(09:17 +0000)
osc, include. prepare to build in liblustre.
lustre/mdc/mdc_internal.h
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_internal.h
b/lustre/mdc/mdc_internal.h
index
6d212fd
..
620a202
100644
(file)
--- 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