Add unlink hook to ioengine API, gluster ioengine
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index 70ccfba482204e123ebfbda8187977486f92b8eb..f9e835d4b087aa17755d41f76a59d6cf0bb95c7e 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -107,7 +107,7 @@ static int ipo_special(struct thread_data *td, struct io_piece *ipo)
                td_io_close_file(td, f);
                break;
        case FIO_LOG_UNLINK_FILE:
-               unlink(f->file_name);
+               td_io_unlink_file(td, f);
                break;
        default:
                log_err("fio: bad file action %d\n", ipo->file_action);