summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_prealloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_prealloc.c')
-rw-r--r--source3/modules/vfs_prealloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c
index 5a339dbf8d..299f6548a1 100644
--- a/source3/modules/vfs_prealloc.c
+++ b/source3/modules/vfs_prealloc.c
@@ -164,7 +164,7 @@ static int prealloc_open(vfs_handle_struct* handle,
if ((flags & O_CREAT) || (flags & O_TRUNC)) {
SMB_OFF_T * psize;
- psize = VFS_ADD_FSP_EXTENSION(handle, fsp, SMB_OFF_T);
+ psize = VFS_ADD_FSP_EXTENSION(handle, fsp, SMB_OFF_T, NULL);
if (psize == NULL || *psize == -1) {
return fd;
}