Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- use LCK_XX locks instead of MDT specified macros.
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_internal.h
diff --git
a/lustre/mdt/mdt_internal.h
b/lustre/mdt/mdt_internal.h
index
7c4cd96
..
fb5ef98
100644
(file)
--- a/
lustre/mdt/mdt_internal.h
+++ b/
lustre/mdt/mdt_internal.h
@@
-707,9
+707,5
@@
static inline void mdt_set_capainfo(struct mdt_thread_info *info, int offset,
ci->mc_capa[offset] = capa;
}
-#define MDT_RD_LOCK LCK_PR
-#define MDT_WR_LOCK LCK_PW
-#define MDT_EX_LOCK LCK_EX
-
#endif /* __KERNEL__ */
#endif /* _MDT_H */