git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15e1fd7
)
Fix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and...
author
Henning Henkel
<henning.henkel@fh-furtwangen.de>
Thu, 4 Dec 2008 21:55:12 +0000
(13:55 -0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 4 Dec 2008 21:55:12 +0000
(13:55 -0800)
source3/modules/vfs_prealloc.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_prealloc.c
b/source3/modules/vfs_prealloc.c
index 2a06e3d81bd5b7ae84a6520efeb3eb3d6e6dc6e8..5a339dbf8d4c4914271b2131227bea5adc392ad2 100644
(file)
--- a/
source3/modules/vfs_prealloc.c
+++ b/
source3/modules/vfs_prealloc.c
@@
-56,9
+56,9
@@
static int module_debug;
static int preallocate_space(int fd, SMB_OFF_T size)
{
+ int err;
#ifndef HAVE_GPFS
lock_type fl = {0};
- int err;
if (size <= 0) {
return 0;