summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
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/smbd/reply.c
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/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index b6199bbef2..5761d4278b 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1460,7 +1460,7 @@ void reply_dskattr(struct smb_request *req)
uint64_t dfree,dsize,bsize;
START_PROFILE(SMBdskattr);
- ret = get_dfree_info(conn, ".", false, &bsize, &dfree, &dsize);
+ ret = get_dfree_info(conn, ".", &bsize, &dfree, &dsize);
if (ret == (uint64_t)-1) {
reply_nterror(req, map_nt_error_from_unix(errno));
END_PROFILE(SMBdskattr);