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 19:29:14 +0000 (19:29 +0000)
commit0a784f28b466e31c62156a37f5b39c933a06aa2c
tree1b0515f942ccf405884bbd41ba7e0903601e83fa
parent0c034112280af8d309ba68bcae2473ebae0fa1ef
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