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-9019 libcfs: avoid using HZ and msecs_to_jiffies()
[fs/lustre-release.git]
/
lustre
/
osp
/
osp_precreate.c
diff --git
a/lustre/osp/osp_precreate.c
b/lustre/osp/osp_precreate.c
index
66ae03b
..
b806159
100644
(file)
--- a/
lustre/osp/osp_precreate.c
+++ b/
lustre/osp/osp_precreate.c
@@
-1252,8
+1252,7
@@
static int osp_precreate_thread(void *_arg)
*/
rc = osp_precreate_cleanup_orphans(&env, d);
if (rc != 0) {
- schedule_timeout_interruptible(
- msecs_to_jiffies(MSEC_PER_SEC));
+ schedule_timeout_interruptible(cfs_time_seconds(1));
continue;
}
}