s3:smbd: handle 0 length writes as no-op.
commit9b0aba40e836b7686c609fa6b5ab2e95ebb48e48
authorStefan Metzmacher <metze@samba.org>
Mon, 11 May 2020 16:18:24 +0000 (11 18:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:44 +0000 (14 07:25 +0000)
treed1a71ec6f4a96ac54c55fe76eaa5947683c93c44
parentf3114c72a3fd3c12d8b49d323757134ec34fd971
s3:smbd: handle 0 length writes as no-op.

They should never touch the SMB_VFS layer
and they never trigger an DISK_FULL error.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14361

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ba68f21286c2c2f1fef8bf8c9cd500a622077887)
source3/smbd/aio.c
source3/smbd/fileio.c