projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2d5c40e
)
Only define str_sfr_cb() if FIO_HAVE_SYNC_FILE_RANGE is set
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 19 Mar 2010 18:17:15 +0000
(19:17 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 19 Mar 2010 18:17:15 +0000
(19:17 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index dda7cba1bdf16b17f6ea009b722ce8ed79ecc38c..40f60ff354c808ccacb65f88a4b525bfe1735c8b 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-429,6
+429,7
@@
static int str_fst_cb(void *data, const char *str)
return 0;
}
+#ifdef FIO_HAVE_SYNC_FILE_RANGE
static int str_sfr_cb(void *data, const char *str)
{
struct thread_data *td = data;
@@
-442,6
+443,7
@@
static int str_sfr_cb(void *data, const char *str)
return 0;
}
+#endif
static int check_dir(struct thread_data *td, char *fname)
{