Volker Lendecke
29df25351d
r24406: Push reply_prep_legacy into reply_lockingX
...
(This used to be commit bce87ebdc00b9086dcdcc55442b57b92345971ac)
2007-10-10 12:29:41 -05:00
Volker Lendecke
439d6020e9
r24405: Check wct in reply_lockingX
...
(This used to be commit c4972632f8b41c87a4c0fdfc6c98515c42eafda5)
2007-10-10 12:29:41 -05:00
Volker Lendecke
df6edb0d3c
r24402: Fix a 64-bit warning
...
(This used to be commit 73d99d6f9a5554d957ae737ff617b6a2e88b52bc)
2007-10-10 12:29:40 -05:00
Volker Lendecke
3038f27a59
r24392: Minor simplifications
...
(This used to be commit 96a943587418e07019974b45c368e749a5ef82c2)
2007-10-10 12:29:39 -05:00
Jeremy Allison
d701a47c73
r24387: Convert readbraw to the new api. Volker, keep checking in
...
your patches please :-). I'll work on SMBreadBmpx tomorrow.
Jeremy.
(This used to be commit 27e183afa8d23dca6aada1f3810dc53aa8c55ccd)
2007-10-10 12:29:38 -05:00
Jeremy Allison
5cc0a6b43c
r24386: Piss off Volker (not deliberately) by checking in a reply_mknew -> conversion.
...
Sorry vl, remove one of your 15 patches :-).
Jeremy.
(This used to be commit a7648ed9d40d6f61362e1488dc30216363870694)
2007-10-10 12:29:38 -05:00
Volker Lendecke
89dfa3883f
r24383: Convert call_nt_transact_ioctl to the new API
...
(This used to be commit 8e6485e0782e9ab31b07dd9f662bd845f58faf4a)
2007-10-10 12:29:38 -05:00
Stefan Metzmacher
5af3e2d613
r24355: move reply_outbuf() to the place where it's used
...
metze
(This used to be commit c7ed550483233851d395edb4b8443b3296b45fb7)
2007-10-10 12:29:35 -05:00
Volker Lendecke
5d39acf2f8
r24351: Remove reply_prep_legacy from reply_read_and_X
...
(This used to be commit 8f3e3a21008a2cb6ed73d8629aaf1fa565f19e79)
2007-10-10 12:29:32 -05:00
Volker Lendecke
a0ad547ccb
r24348: Do not use inbuf/outbuf in the sendfile path of read_and_X
...
(This used to be commit 595ea708ee8c9b6f86648dfdb5ff5a3feafe1f07)
2007-10-10 12:29:31 -05:00
Volker Lendecke
6dcf0c64cf
r24347: fake_sendfile does not need Inbuf/Outbuf
...
In the future, we might put the new Linux splice(2) syscall here. This
should also work for reply_write, but getting that in is a bit trickier.
We need to decide very early before fetching the whole buffer that we
have a write call.
(This used to be commit 32921c878a7f60251a9217173951065784077077)
2007-10-10 12:29:31 -05:00
Volker Lendecke
d198962d14
r24346: Push reply_prep_legacy into send_file_readX
...
(This used to be commit cded66a7dc72d41e4d6ea90edd8b03ed080c042f)
2007-10-10 12:29:31 -05:00
Volker Lendecke
921fbb25eb
r24332: schedule_aio_read_and_X does not need InBuf/OutBuf
...
(This used to be commit 9ad91bd20592850d7b6393e1ac7f0e0919d69668)
2007-10-10 12:29:30 -05:00
Volker Lendecke
bb373dbd6c
r24325: Push down reply_prep_legacy in reply_read_and_X
...
(This used to be commit 9d2354129dad1d4d015d463f138a196f9f72af2f)
2007-10-10 12:29:29 -05:00
Volker Lendecke
8e146e4b7b
r24324: No reply_prep_legacy() in reply_pipe_read_and_X
...
(This used to be commit 304843315c5457ff0288d66d31f1ddb1ef2796f4)
2007-10-10 12:29:29 -05:00
Volker Lendecke
8d6dcd94eb
r24323: Remove the reply_read_and_X wrapper function
...
(This used to be commit 96b218789401bb9e512339e7c6d9e0c9d9724420)
2007-10-10 12:29:29 -05:00
Volker Lendecke
61ee2d3720
r24322: Wrap reply_read_and_X in reply_prep_legacy
...
(This used to be commit 7926b5dfb8d05ad2fe40c3f7658a492f0450e505)
2007-10-10 12:29:28 -05:00
Volker Lendecke
d465b468c1
r24319: Check wct in reply_read_and_X
...
(This used to be commit 9ddacdfa131c4a4a852b3d30db1ee22d1852d0c2)
2007-10-10 12:29:28 -05:00
Stefan Metzmacher
9239b8e8d3
r24306: the check_fsp() function has an explicit user argument
...
so use it...
metze
(This used to be commit 4154bee0d91dd2ace9a7a627418f652d0d11b959)
2007-10-10 12:29:26 -05:00
Volker Lendecke
12d94f77f9
r24279: Remove reply_prep_legacy from reply_write_and_X
...
(This used to be commit f18b7a9a282ebb5c31a89a601798f9a0db51867e)
2007-10-10 12:29:24 -05:00
Volker Lendecke
a6810cb9a3
r24278: Push down reply_prep_legacy in reply_write_and_X
...
Remove the need for reply_prep_legacy for reply_pipe_write_and_X
(This used to be commit de143d5fa61aa487613dda729a43dc3d59a72899)
2007-10-10 12:29:24 -05:00
Volker Lendecke
b0dc209c19
r24271: Push reply_prep_legacy into reply_write_and_X
...
(This used to be commit 607e7d2447bf19eea872a3a4d1ad499a53f0a935)
2007-10-10 12:29:24 -05:00
Volker Lendecke
1f67efab7c
r24270: Fix some END_PROFILE(SMBwriteX)
...
(This used to be commit 36f2347561ab06b5d8175ad0a9c4da2817e759f9)
2007-10-10 12:29:23 -05:00
Volker Lendecke
bb9664302b
r24269: Check wct in reply_write_and_X
...
(This used to be commit 1297fac11778cb910d1bcd12b6d9d3a6269972db)
2007-10-10 12:29:23 -05:00
Volker Lendecke
5d2031915e
r24225: Convert reply_flush to the new API
...
(This used to be commit f843c02f0794964eba02ab983f9c0701801f415c)
2007-10-10 12:29:18 -05:00
Volker Lendecke
c847b2afe7
r24223: Convert reply_echo to the new API
...
(This used to be commit 4863ff2899419e791ed0e340821072d004fb1d17)
2007-10-10 12:29:17 -05:00
Volker Lendecke
2945d4492d
r24141: Add check_fsp as a replacement for CHECK_FSP
...
(This used to be commit a3d77a576f863c4d9f95a1a898f70ae5b5bbc471)
2007-10-10 12:29:12 -05:00
Volker Lendecke
b91704d47b
r24135: Convert call_trans2open to the new API
...
This itself won't help much, because send_trans2_replies_new still allocates
the big buffers, but stay tuned :-)
Also add/update my copyright on stuff I recently touched.
Volker
(This used to be commit 248f15ff143474db2493cef89ba446892342a361)
2007-10-10 12:29:10 -05:00
Volker Lendecke
6c6fed5e65
r24130: Explicitly pass flags2 to srvstr_push
...
This is in preparation of the trans2 conversion: srvstr_push should not
look at inbuf directly.
(This used to be commit 5fd7e6a3821bea26d352e3edc23b7a216b1200e5)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
4b15f31f10
r24120: add a file_id_create() hook into the VFS layer
...
it's needed for some cluster filesystems to
overload this function.
metze
(This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a0a9a301d2
r24119: Convert reply_exit to the new API
...
(This used to be commit d4d550aa2ba20d704d2ab1265732b03405e8819c)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a2d6aa829f
r24102: Pass the fid instead of inbuf and an offset to file_fsp.
...
This removes the buf==NULL condition in file_fsp(), but wherever it is called
we do have a buffer anyway.
Volker
(This used to be commit d70a1f82fed64fa332f16407bea7c6671f48c59a)
2007-10-10 12:29:07 -05:00
Volker Lendecke
4254af7180
r24088: Convert reply_unlink to the new API
...
(This used to be commit fb0a1b7bd0a195dbedb3b0c02d8a4ec25c21b9bf)
2007-10-10 12:29:04 -05:00
Volker Lendecke
8084a39ce0
r24086: Convert reply_ulogoffX to the new API
...
(This used to be commit bbc99e1c3b764bc2adf620553b7fa85efdf8ac53)
2007-10-10 12:29:04 -05:00
Volker Lendecke
4694e757ba
r24085: Convert reply_rmdir to the new API
...
(This used to be commit 7689048d71cc4adbdaee5521cc57890518e7090a)
2007-10-10 12:29:03 -05:00
Volker Lendecke
68513d521d
r24084: Convert reply_mkdir to the new API
...
(This used to be commit e93f3996fcdde6f0fbba3fb9e1e97407e9ccdd62)
2007-10-10 12:29:03 -05:00
Volker Lendecke
ef97e2dece
r24079: Convert reply_dskattr to the new API
...
(This used to be commit c8e0aa5752fde34f7271a4fad758dfae0991722d)
2007-10-10 12:29:03 -05:00
Volker Lendecke
09b3d25252
r24077: Convert reply_tdis to the new API
...
(This used to be commit bd0cb48dde401f48dec98fa7ca794a912e0244f1)
2007-10-10 12:29:02 -05:00
Volker Lendecke
dd98820185
r24071: Fix a missing END_PROFILE call
...
(This used to be commit c9f12326dd1c090bd0ef9bb97c82926c2efd6ae8)
2007-10-10 12:29:01 -05:00
Volker Lendecke
01d5091c26
r24004: Convert reply_checkpath to the new API
...
(This used to be commit e5c7c6406af5552b3060f03a09b5e6c9a42e531c)
2007-10-10 12:28:55 -05:00
Volker Lendecke
db9f25c1c5
r24003: Convert reply_tcon_and_X to the new API
...
(This used to be commit 9422385d9c018a0b1f2a0b2edd82dc574a9fb403)
2007-10-10 12:28:55 -05:00
Volker Lendecke
9e40557047
r23999: Convert reply_open_and_X
...
This is an example of chained code that is executed in make test
(This used to be commit e3a10e9ffb06f429208f8b8e8482bbfd56dace91)
2007-10-10 12:28:54 -05:00
Volker Lendecke
47cdfc0413
r23998: Convert reply_close to the new API
...
(This used to be commit dbf74cb747d34dac571d85d6bae9398558086456)
2007-10-10 12:28:54 -05:00
Volker Lendecke
cc6a41017c
r23997: Check in the infrastructure for getting rid of the global InBuffer/OutBuffer
...
The complete history of this patch can be found under
http://www.samba.org/~vlendec/inbuf-checkin/ .
Jeremy, Jerry: If possible I would like to see this in 3.2.0. I'm only
checking into 3_2 at the moment, as it currently will slow down operations for
all non-converted (i.e. all at this moment) operations, as it will copy the
talloc'ed inbuf over the global InBuffer. It will need quite a bit of effort
to convert everything necessary for the normal operations an XP box does.
I have patches for negprot, session setup, tcon_and_X, open_and_X, close. More
to come, but I would appreciate some help here.
Volker
(This used to be commit 5594af2b208c860d3f4b453af6a649d9e4295d1c)
2007-10-10 12:28:53 -05:00
Volker Lendecke
530f6a927b
r23992: Some const
...
(This used to be commit bc106cf50732ed6c169dcf593797501fcb3ae675)
2007-10-10 12:28:53 -05:00
Jeremy Allison
1ffa14ff92
r23913: Revert back to Volker's original logic to fix the
...
RAW-SFILEINFO-RENAME until I can figure out what
is different from the way CIFSFS drives this in
the cthon tests and the way smbtorture drives it.
Jeremy.
(This used to be commit 99f72dd9af82921de4827b9b9d90d75127332295)
2007-10-10 12:28:41 -05:00
Jeremy Allison
02730aa86c
r23911: Revert r23910 to try and fix the build farm. I
...
need to look at this more closely tomorrow.
Stevef's cthon tests definately show we're not
matching Windows behaviour (as his tests pass
against Windows but not SAMBA_3_2) but this isn't
the fix.
Jeremy.
(This used to be commit 90bbc077e15de0493dccda50be9bcdf6e2649137)
2007-10-10 12:28:41 -05:00
Jeremy Allison
cfb7c04696
r23910: We used to deny renames on the
...
source open for non-delete open.
Turns out this is not the case.
VL please test but this matches
Windows behaviour. (I'll add a
torture test tomorrow).
Jeremy.
(This used to be commit 03e3d587468ce66044814a8a58308b2fe9ab5499)
2007-10-10 12:28:41 -05:00
Jeremy Allison
5e3e15f754
r23909: Get closer to passing the cthon tests for delete open file.
...
It matters how the target is open.
Jeremy.
(This used to be commit 0989877fd191f7c9e195dc6e45dda5fd026f09dd)
2007-10-10 12:28:40 -05:00
Volker Lendecke
f798837c23
r23904: Remove an unused variable reference
...
(This used to be commit 7f4ceb1bf0c7aad50d93bb963c49dbc405e9524a)
2007-10-10 12:28:40 -05:00