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-3963 libcfs: convert obdecho,obdclass code to atomics
[fs/lustre-release.git]
/
lustre
/
obdclass
/
capa.c
diff --git
a/lustre/obdclass/capa.c
b/lustre/obdclass/capa.c
index
8f67dc7
..
5f5bc1b
100644
(file)
--- a/
lustre/obdclass/capa.c
+++ b/
lustre/obdclass/capa.c
@@
-184,7
+184,7
@@
static inline void capa_delete_lru(cfs_list_t *head)
while (count++ < LRU_CAPA_DELETE_COUNT) {
ocapa = cfs_list_entry(node, struct obd_capa, c_list);
node = node->next;
-
if (cfs_
atomic_read(&ocapa->c_refc))
+
if (
atomic_read(&ocapa->c_refc))
continue;
DEBUG_CAPA(D_SEC, &ocapa->c_capa, "free lru");