X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=af14c6760566e53a786ce46a1ba78996edd9505e;hp=48b5dcd1cdfbbf68c0d9a83f483569c916dc01d0;hb=a978ba684deb758465a0ccb18a008797636e8054;hpb=640e94218b780e3d7b15758c760e59f3511f0933 diff --git a/filesetup.c b/filesetup.c index 48b5dcd1..af14c676 100644 --- a/filesetup.c +++ b/filesetup.c @@ -318,18 +318,6 @@ err: return 1; } -int reopen_file(struct thread_data *td, struct fio_file *f) -{ - f->last_free_lookup = 0; - f->last_completed_pos = 0; - f->last_pos = 0; - - if (f->file_map) - memset(f->file_map, 0, f->num_maps * sizeof(long)); - - return td_io_open_file(td, f); -} - int open_files(struct thread_data *td) { struct fio_file *f;