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
/
obdclass
/
llog_obd.c
diff --git
a/lustre/obdclass/llog_obd.c
b/lustre/obdclass/llog_obd.c
index
1471458
..
a1d5de2
100644
(file)
--- a/
lustre/obdclass/llog_obd.c
+++ b/
lustre/obdclass/llog_obd.c
@@
-179,7
+179,7
@@
int llog_setup_named(struct obd_device *obd, struct obd_llog_group *olg,
ctxt->loc_olg = olg;
ctxt->loc_idx = index;
ctxt->loc_logops = op;
- cfs_
sema_init(&ctxt->loc_sem, 1
);
+ cfs_
mutex_init(&ctxt->loc_mutex
);
ctxt->loc_exp = class_export_get(disk_obd->obd_self_export);
ctxt->loc_flags = LLOG_CTXT_FLAG_UNINITIALIZED;