git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e7e14
)
s3: Make us survive base-delaywrite with aio enabled
author
Volker Lendecke
<vl@samba.org>
Thu, 12 Jul 2012 16:47:42 +0000
(18:47 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 12 Jul 2012 19:28:19 +0000
(21:28 +0200)
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
source3/smbd/aio.c
patch
|
blob
|
history
diff --git
a/source3/smbd/aio.c
b/source3/smbd/aio.c
index ec68b90452dca1c3c0c11bae320342b2172363d0..0ea5274420aa2e6d8f169e47e8b3f2be163f6f56 100644
(file)
--- a/
source3/smbd/aio.c
+++ b/
source3/smbd/aio.c
@@
-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;
}