From 09b4a9513cf0be52dcd43660ae384b8f7c398287 Mon Sep 17 00:00:00 2001 From: Henning Henkel Date: Thu, 4 Dec 2008 13:55:12 -0800 Subject: Fix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and GPFS --- source3/modules/vfs_prealloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit