summaryrefslogtreecommitdiffstats
path: root/source3/torture
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2015-02-16 19:26:24 +0100
committerJeremy Allison <jra@samba.org>2015-02-17 05:37:20 +0100
commit41c4666a726d3fbe234bcb8b38bd24c62799598f (patch)
treee1592fcc63cdef1a9feb0b29e2ebb2dda15120e5 /source3/torture
parent4ab0e57f1073e776b8832f5edc3dca04ef903fef (diff)
downloadsamba-41c4666a726d3fbe234bcb8b38bd24c62799598f.tar.gz
samba-41c4666a726d3fbe234bcb8b38bd24c62799598f.tar.xz
samba-41c4666a726d3fbe234bcb8b38bd24c62799598f.zip
s3/vfs: remove unused SMB_VFS_DISK_FREE() small_query parameter
The small_query parameter for SMB_VFS_DISK_FREE() was, prior to the previous commit, used to obtain 16-bit wide free-space information for the deprecated dskattr SMB_COM_QUERY_INFORMATION_DISK command. With the dskattr handler now performing the 16-bit collapse directly, the small_query parameter can be removed from the entire code path. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Feb 17 05:37:20 CET 2015 on sn-devel-104
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/cmd_vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c
index 1ccdfe33f9..26e40c5293 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -117,7 +117,7 @@ static NTSTATUS cmd_disk_free(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int ar
return NT_STATUS_OK;
}
- diskfree = SMB_VFS_DISK_FREE(vfs->conn, argv[1], False, &bsize, &dfree, &dsize);
+ diskfree = SMB_VFS_DISK_FREE(vfs->conn, argv[1], &bsize, &dfree, &dsize);
printf("disk_free: %lu, bsize = %lu, dfree = %lu, dsize = %lu\n",
(unsigned long)diskfree,
(unsigned long)bsize,