From 4b20c6814d4742e27a68f8a740a955283869fbcd Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 22 May 2013 12:17:43 +0200 Subject: [PATCH] helpers: fixup bad fadvise check Signed-off-by: Jens Axboe --- helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1