summaryrefslogtreecommitdiff
path: root/helpers.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-05-22 12:17:43 +0200
committerJens Axboe <axboe@kernel.dk>2013-05-22 12:17:43 +0200
commit4b20c6814d4742e27a68f8a740a955283869fbcd (patch)
tree0d5e8d3b373d99978ef8febcb3784c2ec6bc54c7 /helpers.c
parent4728b3c82f07612d64b79a67adc31dd9ca3c79fc (diff)
downloadfio-4b20c6814d4742e27a68f8a740a955283869fbcd.tar.gz
fio-4b20c6814d4742e27a68f8a740a955283869fbcd.tar.bz2
helpers: fixup bad fadvise check
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'helpers.c')
-rw-r--r--helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.c b/helpers.c
index dce967d3..4342b2d2 100644
--- a/helpers.c
+++ b/helpers.c
@@ -32,7 +32,7 @@ int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
}
#endif
-#ifndef CONFIG_FADVISE
+#ifndef CONFIG_POSIX_FADVISE
int posix_fadvise(int fd, off_t offset, off_t len, int advice)
{
return 0;