From d8c96bc4bd81efb28a39244890db3f5bb63e8323 Mon Sep 17 00:00:00 2001 From: tappro Date: Thu, 24 Jul 2008 11:38:00 +0000 Subject: [PATCH] - land b_ver_recov --- lustre/obdclass/obd_mount.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index f7c953a..aec2323 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -1340,10 +1340,9 @@ static void server_wait_finished(struct vfsmount *mnt) LCONSOLE_WARN("Mount still busy with %d refs, waiting for " "%d secs...\n", atomic_read(&mnt->mnt_count), retries); - /* Wait for a bit */ retries -= 5; - lwi = LWI_TIMEOUT(5 * HZ, NULL, NULL); + lwi = LWI_TIMEOUT(cfs_time_seconds(5), NULL, NULL); l_wait_event(waitq, 0, &lwi); } if (atomic_read(&mnt->mnt_count) > 1) { -- 1.8.3.1