git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b457b94
)
Fix the build: Fix caller of strict_allocate_ftruncate().
author
Michael Adam
<obnox@samba.org>
Mon, 7 Jan 2008 15:12:03 +0000
(16:12 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 7 Jan 2008 15:12:03 +0000
(16:12 +0100)
Michael
(This used to be commit
20691272a1e2562ab8c6143978d324af0334f871
)
source3/modules/vfs_default.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_default.c
b/source3/modules/vfs_default.c
index 6ac8cc5def658207c2efc8f09bff00dc7fc8b9df..45056959158556f2ef06af1d430f3d6648a1aa62 100644
(file)
--- a/
source3/modules/vfs_default.c
+++ b/
source3/modules/vfs_default.c
@@
-736,7
+736,7
@@
static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O
START_PROFILE(syscall_ftruncate);
if (lp_strict_allocate(SNUM(fsp->conn))) {
- result = strict_allocate_ftruncate(handle, fsp,
fsp->fh->fd,
len);
+ result = strict_allocate_ftruncate(handle, fsp, len);
END_PROFILE(syscall_ftruncate);
return result;
}