filesetup: don't print non-debug error on native fallocate failure
authorJens Axboe <axboe@kernel.dk>
Thu, 2 Nov 2017 14:53:54 +0000 (08:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Nov 2017 14:53:54 +0000 (08:53 -0600)
commitc0aabe37db1bde7def7961f91bf65d8d147c367a
tree20974f3c06d798f83a1f8b2dc1ed3635be329977
parentc89daa4a98e6f3749ffc75b727a77cc061a0a454
filesetup: don't print non-debug error on native fallocate failure

We expect this to fail in cases where it isn't available, so don't
clutter the standard/error output with it.

Also ensure that native_fallocate() returns true/false, since it's
a bool function. Just a cleanup, no functional change there.

Fixes: 2c3e17be4c7c ("filesetup: add native fallocate")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c