vfs_default: use VFS statvfs macro in fs_capabilities
commit21d0446c4811f2f066b549232ddd27b353a8c633
authorDavid Disseldorp <ddiss@samba.org>
Wed, 10 Jan 2018 13:03:09 +0000 (10 14:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Jan 2018 12:14:03 +0000 (22 13:14 +0100)
treee2110400170023fb6bf6eb0e6fe9cd059bb848a3
parenta6b780c52b251505e50607d6f77f57330b830b00
vfs_default: use VFS statvfs macro in fs_capabilities

Currently the vfs_default fs_capabilities handler calls statvfs
directly, rather than calling the vfs macro. This behaviour may cause
issues for VFS modules that delegate fs_capabilities handling to
vfs_default but offer their own statvfs hook.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13208

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4b25c9f4a4d336a16894452862ea059701b025de)

Autobuild-User(v4-6-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-6-test): Mon Jan 22 13:14:03 CET 2018 on sn-devel-144
source3/modules/vfs_default.c