Fix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and...
authorHenning Henkel <henning.henkel@fh-furtwangen.de>
Thu, 4 Dec 2008 21:55:12 +0000 (13:55 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 4 Dec 2008 21:55:12 +0000 (13:55 -0800)
source3/modules/vfs_prealloc.c

index 2a06e3d81bd5b7ae84a6520efeb3eb3d6e6dc6e8..5a339dbf8d4c4914271b2131227bea5adc392ad2 100644 (file)
@@ -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;