From 41c4666a726d3fbe234bcb8b38bd24c62799598f Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Mon, 16 Feb 2015 19:26:24 +0100 Subject: 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 Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Feb 17 05:37:20 CET 2015 on sn-devel-104 --- examples/VFS/skel_opaque.c | 2 +- examples/VFS/skel_transparent.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/VFS') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index b52c381572..2a53c8a9d3 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -45,7 +45,7 @@ static void skel_disconnect(vfs_handle_struct *handle) } static uint64_t skel_disk_free(vfs_handle_struct *handle, const char *path, - bool small_query, uint64_t *bsize, + uint64_t *bsize, uint64_t *dfree, uint64_t *dsize) { *bsize = 0; diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 925e520035..eb561db043 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -49,11 +49,10 @@ static void skel_disconnect(vfs_handle_struct *handle) } static uint64_t skel_disk_free(vfs_handle_struct *handle, const char *path, - bool small_query, uint64_t *bsize, + uint64_t *bsize, uint64_t *dfree, uint64_t *dsize) { - return SMB_VFS_NEXT_DISK_FREE(handle, path, small_query, bsize, - dfree, dsize); + return SMB_VFS_NEXT_DISK_FREE(handle, path, bsize, dfree, dsize); } static int skel_get_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, -- cgit