Various fixes/updates
[fio.git] / smalloc.c
index 42008ebfdb6e44732c469b596b7be65786031231..fdf7d22ec4bf2b256f755842d97ec578baaa9fb9 100644 (file)
--- a/smalloc.c
+++ b/smalloc.c
@@ -203,15 +203,7 @@ static int add_pool(struct pool *pool, unsigned int alloc_size)
        pool->free_blocks = bitmap_blocks * SMALLOC_BPB;
 
 #ifdef FIO_HAVE_FALLOCATE
-       {
-               int ret;
-
-               ret = posix_fallocate(fd, 0, alloc_size);
-               if (ret > 0) {
-                       fprintf(stderr, "posix_fallocate pool file failed: %s\n", strerror(ret));
-                       goto out_unlink;
-               }
-       }
+       posix_fallocate(fd, 0, alloc_size);
 #endif
 
        if (ftruncate(fd, alloc_size) < 0)