Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate...
commit6fa4b9d956b600045100746639c5d05489696234
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2010 23:27:17 +0000 (2 15:27 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:40 +0000 (5 14:34 +0100)
tree7b9bdeb0f22b69e90ea02ed25f1c38c3d6bcef5c
parenta0b473423586a42f48733113058f84f0515a769e
Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate is on

Tries posix_fallocate() and then falls back to old code.

Jeremy.
(cherry picked from commit 0c45b32bc7d93b03838405a97b054cb414267892)
source3/smbd/vfs.c