vfs_prealloc: Remove call to gpfs_prealloc
authorChristof Schmitt <cs@samba.org>
Tue, 10 Feb 2015 20:36:17 +0000 (13:36 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 11 Feb 2015 01:03:08 +0000 (02:03 +0100)
commit618af83d1bd07b12a9acc88b0d2111cab7a8bb2b
tree010e06f287b02c384b0f22ac34067c185466f2d4
parent627a98d095f660fdb98e81c495a4395bf18094df
vfs_prealloc: Remove call to gpfs_prealloc

Calling gpfs_prealloc changes the actual size of the file, and this
should not be done implicitly. Also this code does not compile due to
the missing dependency to the gpfs library. The best way solution here
is probably removing the call to gpfs_prealloc. The vfs_gpfs module
already implements the call to gpfs_prelloc when this can be done
safely.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Feb 11 02:03:09 CET 2015 on sn-devel-104
source3/modules/vfs_prealloc.c