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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
ldlm
/
l_lock.c
diff --git
a/lustre/ldlm/l_lock.c
b/lustre/ldlm/l_lock.c
index
63f2ad5
..
fdb8548
100644
(file)
--- a/
lustre/ldlm/l_lock.c
+++ b/
lustre/ldlm/l_lock.c
@@
-49,7
+49,7
@@
struct ldlm_resource * lock_res_and_lock(struct ldlm_lock *lock)
return res;
}
-
lock_bitlock(
lock);
+
spin_lock(&lock->l_
lock);
res = lock->l_resource;
lock_res(res);
return res;
@@
-66,6
+66,6
@@
void unlock_res_and_lock(struct ldlm_lock *lock)
}
unlock_res(res);
-
unlock_bitlock(
lock);
+
spin_unlock(&lock->l_
lock);
}