vfs_default: use VFS statvfs macro in fs_capabilities
authorDavid Disseldorp <ddiss@samba.org>
Wed, 10 Jan 2018 13:03:09 +0000 (14:03 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 13 Jan 2018 02:03:46 +0000 (03:03 +0100)
commit4b25c9f4a4d336a16894452862ea059701b025de
tree124a8a083553cdddeca66e9c4efeecef7bb55bab
parent2724e0cac29cd1632ea28075a740fcc888affb36
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>
source3/modules/vfs_default.c