diff options
author | David Disseldorp <ddiss@suse.de> | 2011-01-26 14:32:01 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-01-27 00:59:56 +0100 |
commit | eb55338ccdc000feac92118553c5ce59bed87fa8 (patch) | |
tree | 1e7cd26602e90569c5f41c1ba3a50c426c181a42 /source3/smbd/smb2_flush.c | |
parent | efde1d870b6a8c2d5461d9ae6cab5d3f2cbffb83 (diff) | |
download | samba-eb55338ccdc000feac92118553c5ce59bed87fa8.tar.gz samba-eb55338ccdc000feac92118553c5ce59bed87fa8.tar.bz2 samba-eb55338ccdc000feac92118553c5ce59bed87fa8.zip |
Looking into printer driver issues, I ran across some peculiarities in
copy_file():
- Firstly, if the source file is zero bytes, NT_STATUS_DISK_FULL is
returned.
- Secondly, the conditional lseek is confusing. It fires when
OPENX_FILE_EXISTS_OPEN is set and I can't see why the lseek is
necessary in this case.
- Finally, the lseek error path also results in NT_STATUS_DISK_FULL.
Proposed fix for first and third point below.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jan 27 00:59:56 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd/smb2_flush.c')
0 files changed, 0 insertions, 0 deletions