git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6199c
)
vfs_fruit: use fio in fruit_fallocate
author
Ralph Boehme
<slow@samba.org>
Thu, 8 Dec 2016 19:41:55 +0000
(20:41 +0100)
committer
Uri Simchoni
<uri@samba.org>
Wed, 1 Mar 2017 23:32:22 +0000
(
00:32
+0100)
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>
source3/modules/vfs_fruit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_fruit.c
b/source3/modules/vfs_fruit.c
index d00dc156d298682e2804881d1426f1357c4bff03..6ca1d7bb5e4f1c105b2d465f4b121bdc12b6c4a2 100644
(file)
--- 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);
}