[PATCH 0/2] remove small_query from the SMB_VFS_DISK_FREE() code path

David Disseldorp ddiss at samba.org
Mon Feb 16 11:26:22 MST 2015


The small_query parameter for SMB_VFS_DISK_FREE() and friends only
exists to squash free space values down to 16-bits for the deprecated
dskattr command response.

This patch set moves the 16-bit squash logic out of the VFS and into the
dskattr handler code, where it is better suited.

Feedback appreciated.

Cheers, David

--

 examples/VFS/skel_opaque.c         |  2 +-
 examples/VFS/skel_transparent.c    |  5 ++--
 source3/include/vfs.h              | 10 ++++----
 source3/include/vfs_macros.h       |  8 +++---
 source3/modules/vfs_cap.c          |  6 ++---
 source3/modules/vfs_ceph.c         | 11 ++++----
 source3/modules/vfs_default.c      | 11 ++++----
 source3/modules/vfs_full_audit.c   |  6 ++---
 source3/modules/vfs_glusterfs.c    |  5 ++--
 source3/modules/vfs_gpfs.c         | 10 ++++----
 source3/modules/vfs_shadow_copy2.c | 10 +++-----
 source3/modules/vfs_snapper.c      | 10 +++-----
 source3/modules/vfs_time_audit.c   |  6 ++---
 source3/smbd/dfree.c               | 40 +++++++++---------------------
 source3/smbd/proto.h               |  5 ++--
 source3/smbd/reply.c               | 21 +++++++++++++++-
 source3/smbd/trans2.c              | 13 +++++++---
 source3/smbd/vfs.c                 | 10 +++-----
 source3/torture/cmd_vfs.c          |  2 +-
 19 files changed, 94 insertions(+), 97 deletions(-)


More information about the samba-technical mailing list