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-9859 ptlrpc: change imp_refcount to refcount_t
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
pinger.c
diff --git
a/lustre/ptlrpc/pinger.c
b/lustre/ptlrpc/pinger.c
index
5b1133e
..
481b73b
100644
(file)
--- a/
lustre/ptlrpc/pinger.c
+++ b/
lustre/ptlrpc/pinger.c
@@
-108,7
+108,7
@@
static bool ptlrpc_check_import_is_idle(struct obd_import *imp)
* - ptlrpcd_alloc_work()
* - ptlrpc_pinger_add_import
*/
- if (
atomic
_read(&imp->imp_refcount) > 4)
+ if (
refcount
_read(&imp->imp_refcount) > 4)
return false;
/* any lock increases ns_bref being a resource holder */