s3: allocate only "new" space, not "old" sparse space in the posix_fallocate path
authorBjörn Jacke <bj@sernet.de>
Tue, 8 Dec 2009 09:30:03 +0000 (10:30 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Dec 2009 07:28:53 +0000 (08:28 +0100)
commit925e825944c27f9f11796df8d7937a30537a3869
tree761c956d079a3ef061e7995e5b0a97683e107933
parent352adf37d2fcf3997544b3e079c79689befc7d2a
s3: allocate only "new" space, not "old" sparse space in the posix_fallocate path

this makes the posix_fallocate path work analogous to the manual allocate path.
(cherry picked from commit e9fb2807037919a598e17d24def4897e0cbfe19c)
source3/modules/vfs_default.c