projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4728b3c
)
helpers: fixup bad fadvise check
author
Jens Axboe
<axboe@kernel.dk>
Wed, 22 May 2013 10:17:43 +0000
(12:17 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 22 May 2013 10:17:43 +0000
(12:17 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
helpers.c
patch
|
blob
|
blame
|
history
diff --git
a/helpers.c
b/helpers.c
index dce967d39d6c4bc8f1e2b7cbf8410fdaa1aed093..4342b2d2fa083b0dc5dba021d89d1021a806d39a 100644
(file)
--- 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
}
#endif
-#ifndef CONFIG_FADVISE
+#ifndef CONFIG_
POSIX_
FADVISE
int posix_fadvise(int fd, off_t offset, off_t len, int advice)
{
return 0;
int posix_fadvise(int fd, off_t offset, off_t len, int advice)
{
return 0;