From 27aece72004a84a6e0b2e00987d8a362e307d1d8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 18 Jul 2010 17:12:30 +0200 Subject: s3: Actually use the usecs in aio_fork_suspend Jeremy, please check! --- source3/modules/vfs_aio_fork.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index ff2b6ad9ff..02b1394216 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -768,7 +768,8 @@ static int aio_fork_suspend(struct vfs_handle_struct *handle, struct timeval tv = convert_timespec_to_timeval(*timeout); struct tevent_timer *te = tevent_add_timer(ev, frame, - timeval_current_ofs(tv.tv_sec,0), + timeval_current_ofs(tv.tv_sec, + tv.tv_usec), aio_fork_suspend_timed_out, &timed_out); if (!te) { -- cgit