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-4588 code: replace semaphores with mutexes
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_iam.h
diff --git
a/lustre/osd-ldiskfs/osd_iam.h
b/lustre/osd-ldiskfs/osd_iam.h
index
aeccdbc
..
697dd15
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_iam.h
+++ b/
lustre/osd-ldiskfs/osd_iam.h
@@
-485,10
+485,8
@@
struct iam_container {
*/
struct rw_semaphore ic_sem;
struct dynlock ic_tree_lock;
- /*
- * Protect ic_idle_bh
- */
- struct semaphore ic_idle_sem;
+ /* Protect ic_idle_bh */
+ struct mutex ic_idle_mutex;
/*
* BH for idle blocks
*/