Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate...
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2010 23:38:36 +0000 (15:38 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 2 Dec 2010 23:38:36 +0000 (15:38 -0800)
commitde8ceb5364de86f9b016251201474f011c16f6cb
tree6f3dbbfe6c62aa0ba71f99c181d6a914c991f52e
parent03b078c5677c94468386323e5910137d422360ef
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.
source3/smbd/vfs.c