diff options
author | Tim Prouty <tprouty@samba.org> | 2009-01-31 20:51:04 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-02-09 23:46:12 -0800 |
commit | 122dbbf00acc1768f98e5b57e94aab2b61671f40 (patch) | |
tree | 97dd65074e1d07f582ba945f50a9fb90d078cd05 /source3/modules/vfs_prealloc.c | |
parent | fe5b0b595c926aea0916541ceeaf610bc018cb63 (diff) | |
download | samba-122dbbf00acc1768f98e5b57e94aab2b61671f40.tar.gz samba-122dbbf00acc1768f98e5b57e94aab2b61671f40.tar.xz samba-122dbbf00acc1768f98e5b57e94aab2b61671f40.zip |
s3 vfs: Add a destructor to the fsp extension data API
I'm not certain if the dummy pointer is needed in struct vfs_fsp_data,
but I added it to be consistent with the comment below.
Diffstat (limited to 'source3/modules/vfs_prealloc.c')
-rw-r--r-- | source3/modules/vfs_prealloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c index 5a339dbf8d4..299f6548a15 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; } |