From: Jens Axboe Date: Wed, 22 May 2013 10:17:43 +0000 (+0200) Subject: helpers: fixup bad fadvise check X-Git-Tag: fio-2.1.1~20 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4b20c6814d4742e27a68f8a740a955283869fbcd;ds=sidebyside helpers: fixup bad fadvise check Signed-off-by: Jens Axboe --- 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;