vfs_ceph: add missing fallocate hook
authorDavid Disseldorp <ddiss@samba.org>
Tue, 26 Feb 2019 20:26:27 +0000 (21:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Mar 2019 07:39:29 +0000 (07:39 +0000)
commitcf279fbdd531d4cab9cb0e6b8341e6cb1bbd9978
tree7f594d8a21d4384914be353613d6154b5e085de6
parent03e4555f344e6806c80fefc8cf00a08d6ea2766e
vfs_ceph: add missing fallocate hook

SMB_VFS_FALLOCATE() calls atop a vfs_ceph share currently fall through
to vfs_default, which results in a local filesystem I/O attempt using a
libcephfs file-descriptor. Add the missing fallocate hook to vfs_ceph.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 5a7e7280813559fb70a9fc8e4238cb6015ee3b53)
source3/modules/vfs_ceph.c