summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorHenning Henkel <henning.henkel@fh-furtwangen.de>2008-12-04 13:55:12 -0800
committerJeremy Allison <jra@samba.org>2008-12-04 13:55:12 -0800
commit09b4a9513cf0be52dcd43660ae384b8f7c398287 (patch)
tree853ee0b3417c809254aba1dc855cf6f1fdd9ec7b /source3
parent15e1fd7c540ab47dffdfbd4cfad3a8c18a3f62dc (diff)
downloadsamba-09b4a9513cf0be52dcd43660ae384b8f7c398287.tar.gz
samba-09b4a9513cf0be52dcd43660ae384b8f7c398287.tar.xz
samba-09b4a9513cf0be52dcd43660ae384b8f7c398287.zip
Fix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and GPFS
Diffstat (limited to 'source3')
-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 2a06e3d81b..5a339dbf8d 100644
--- 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;