git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3 vfs: Add a destructor to the fsp extension data API
[nivanova/samba-autobuild/.git]
/
source3
/
modules
/
vfs_prealloc.c
diff --git
a/source3/modules/vfs_prealloc.c
b/source3/modules/vfs_prealloc.c
index 5a339dbf8d4c4914271b2131227bea5adc392ad2..299f6548a15eaced7c33085e98c862e1b45b41e1 100644
(file)
--- 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;
}