diff options
author | Ralph Boehme <slow@samba.org> | 2016-12-08 20:41:55 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-03-06 19:40:22 +0100 |
commit | 94616d1098090dfb36506c3b2a2b28a78a582333 (patch) | |
tree | f3f05c1e8a06d8130bdb57907958df622bcdf07e /source3/modules | |
parent | 3e1a5bb817e289d761e44086b8548a8eb4b0d128 (diff) | |
download | samba-94616d1098090dfb36506c3b2a2b28a78a582333.tar.gz |
vfs_fruit: use fio in fruit_fallocate
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12427
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
(cherry picked from commit b3c0f785d753b26404f67acf8061be1cafde79a9)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_fruit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index 9a4babe8de4..c4f73bbd090 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -4659,10 +4659,9 @@ static int fruit_fallocate(struct vfs_handle_struct *handle, off_t offset, off_t len) { - struct adouble *ad = - (struct adouble *)VFS_FETCH_FSP_EXTENSION(handle, fsp); + struct fio *fio = (struct fio *)VFS_FETCH_FSP_EXTENSION(handle, fsp); - if (ad == NULL) { + if (fio == NULL) { return SMB_VFS_NEXT_FALLOCATE(handle, fsp, mode, offset, len); } |