mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3: Make us survive base-delaywrite with aio enabled
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jul 12 21:28:19 CEST 2012 on sn-devel-104
This commit is contained in:
parent
67e7e14e62
commit
622eb59eb4
@ -733,6 +733,8 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
|
||||
}
|
||||
|
||||
aio_ex->fsp->fh->pos = aio_ex->acb.aio_offset + nwritten;
|
||||
|
||||
mark_file_modified(aio_ex->fsp);
|
||||
}
|
||||
|
||||
show_msg(outbuf);
|
||||
@ -821,6 +823,8 @@ static int handle_aio_smb2_write_complete(struct aio_extra *aio_ex, int errcode)
|
||||
return errcode;
|
||||
}
|
||||
|
||||
mark_file_modified(fsp);
|
||||
|
||||
tevent_req_done(subreq);
|
||||
return errcode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user