mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Actually use the usecs in aio_fork_suspend
Jeremy, please check!
This commit is contained in:
parent
1946beb679
commit
27aece7200
@ -768,7 +768,8 @@ static int aio_fork_suspend(struct vfs_handle_struct *handle,
|
|||||||
struct timeval tv = convert_timespec_to_timeval(*timeout);
|
struct timeval tv = convert_timespec_to_timeval(*timeout);
|
||||||
struct tevent_timer *te = tevent_add_timer(ev,
|
struct tevent_timer *te = tevent_add_timer(ev,
|
||||||
frame,
|
frame,
|
||||||
timeval_current_ofs(tv.tv_sec,0),
|
timeval_current_ofs(tv.tv_sec,
|
||||||
|
tv.tv_usec),
|
||||||
aio_fork_suspend_timed_out,
|
aio_fork_suspend_timed_out,
|
||||||
&timed_out);
|
&timed_out);
|
||||||
if (!te) {
|
if (!te) {
|
||||||
|
Loading…
Reference in New Issue
Block a user