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
LU-812 compat: clean up mutex lock to use kernel mutex primitive
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_object.c
diff --git
a/lustre/lmv/lmv_object.c
b/lustre/lmv/lmv_object.c
index
1f65a18
..
c879ee0
100644
(file)
--- a/
lustre/lmv/lmv_object.c
+++ b/
lustre/lmv/lmv_object.c
@@
-91,7
+91,7
@@
struct lmv_object *lmv_object_alloc(struct obd_device *obd,
obj->lo_state = 0;
obj->lo_hashtype = mea->mea_magic;
- cfs_
init_mutex
(&obj->lo_guard);
+ cfs_
mutex_init
(&obj->lo_guard);
cfs_atomic_set(&obj->lo_count, 0);
obj->lo_objcount = mea->mea_count;