vfs_ceph: add missing fallocate hook
authorDavid Disseldorp <ddiss@samba.org>
Tue, 26 Feb 2019 20:26:27 +0000 (21:26 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 27 Feb 2019 14:53:18 +0000 (14:53 +0000)
commit5a7e7280813559fb70a9fc8e4238cb6015ee3b53
tree222c6090bcfb35bb87a5ac20e8d7067cf91b2e61
parent4f307f2302b0fe8fd0fc6379eb8e6491faf8520c
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>
source3/modules/vfs_ceph.c