The branch, master has been updated via 3fdebc0... s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does from 4712940... s4-smbtorture: merge badname spoolss openprinter tests.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 3fdebc06465cd6493617c2b129759e08200097f7 Author: Björn Jacke <b...@sernet.de> Date: Wed Apr 7 12:21:07 2010 +0200 s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does ----------------------------------------------------------------------- Summary of changes: source3/smbd/nttrans.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 46edc06..a03a0b1 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -2217,6 +2217,12 @@ static void call_nt_transact_ioctl(connection_struct *conn, } case FSCTL_QUERY_ALLOCATED_RANGES: { + /* FIXME: This is just a dummy reply, telling that all of the + * file is allocated. MKS cp needs that. + * Adding the real allocated ranges via FIEMAP on Linux + * and SEEK_DATA/SEEK_HOLE on Solaris is needed to make + * this FSCTL correct for sparse files. + */ NTSTATUS status; uint64_t offset, length; -- Samba Shared Repository