Remove a direct inbuf reference (should have been removed with 8987641d...)
authorVolker Lendecke <vl@samba.org>
Wed, 5 Nov 2008 18:19:17 +0000 (19:19 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 8 Nov 2008 09:42:28 +0000 (10:42 +0100)
source3/smbd/aio.c

index fd553c3fc44d8bec19f25183c0b1849991ed78c1..8beed0744c17e106194236dd426a42c47331a0e8 100644 (file)
@@ -506,7 +506,7 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex)
                ERROR_BOTH(map_nt_error_from_unix(ret), ERRHRD, ERRdiskfull);
                srv_set_message(outbuf,0,0,true);
         } else {
-               bool write_through = BITSETW(aio_ex->req->inbuf+smb_vwv7,0);
+               bool write_through = BITSETW(aio_ex->req->vwv+7,0);
                NTSTATUS status;
 
                SSVAL(outbuf,smb_vwv2,nwritten);