Merge the two conflicting allocation codes into one function, vfs_slow_fallocate()
commitf41361ed0e172aeea77268f021741d09878daa70
authorJeremy Allison <jra@samba.org>
Fri, 3 Dec 2010 01:26:00 +0000 (2 17:26 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 3 Dec 2010 01:27:39 +0000 (2 17:27 -0800)
tree91c64b1a5dd76c6dff7863412f7a997512cea519
parentf8ce757f3b0da676f916267285ef6d6630c2f03b
Merge the two conflicting allocation codes into one function, vfs_slow_fallocate()
and use that from both the truncate and fill_sparse functions.

Jeremy.
(cherry picked from commit b1b74d30e8133a2567d94a8cc8e235547956907e)
source3/include/proto.h
source3/modules/vfs_default.c
source3/smbd/vfs.c