s3: enforce a positive allocation_file_size for non-empty files
authorBjörn Baumbach <bb@sernet.de>
Thu, 27 Mar 2014 10:17:30 +0000 (11:17 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 5 Apr 2014 01:09:00 +0000 (03:09 +0200)
commitc35b31f45244a8339684c3b83a7d86eefb80e0da
treeedc56d90b399b109279023e8a3f0e34a565f2a82
parent69b7631ca712046eab2bf4d8dae666718c46cb82
s3: enforce a positive allocation_file_size for non-empty files

Some file systems do not allocate a block for very
small files. But for non-empty file should report a
positive size.

Pair-Programmed-With: Michael Adam <obnox@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr  5 03:09:00 CEST 2014 on sn-devel-104
source3/modules/vfs_default.c