vfs_ceph: fix strict_allocate_ftruncate()
authorDavid Disseldorp <ddiss@samba.org>
Tue, 26 Feb 2019 15:07:27 +0000 (16:07 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Mar 2019 07:39:29 +0000 (07:39 +0000)
commitc539cf176a669e54ccddefa6b57a9285d12c93a9
tree94e5a9159ac09b213cc4baee40c8d00577a78e96
parentcf279fbdd531d4cab9cb0e6b8341e6cb1bbd9978
vfs_ceph: fix strict_allocate_ftruncate()

The vfs_ceph "strict allocate = yes" ftruncate wrapper may attempt
*local* filesystem ftruncate(). Fix this.

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 70329c36ed91dd0e50ff66f9b0a85c62ac8a621e)
source3/modules/vfs_ceph.c