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-224 Move fail_loc handling from lustre to libcfs
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
watchdog.c
diff --git
a/libcfs/libcfs/watchdog.c
b/libcfs/libcfs/watchdog.c
index
423a4bd
..
cc6ae59
100644
(file)
--- a/
libcfs/libcfs/watchdog.c
+++ b/
libcfs/libcfs/watchdog.c
@@
-368,7
+368,7
@@
struct lc_watchdog *lc_watchdog_add(int timeout,
RETURN(ERR_PTR(-ENOMEM));
}
- spin_lock_init(&lcw->lcw_lock);
+
cfs_
spin_lock_init(&lcw->lcw_lock);
lcw->lcw_refcount = 1; /* refcount for owner */
lcw->lcw_task = cfs_current();
lcw->lcw_pid = cfs_curproc_pid();