commit | f6cbb269c54ff40f3922818d42117f5a8026df36 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Oct 18 14:16:42 2006 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Oct 18 14:16:42 2006 +0200 |
tree | e4049f6386ea596a07e294daab28d09da946548a | |
parent | b2a151925a91f38aeb298d693687a47269ad4e94 [diff] [blame] |
[PATCH] Add support for unlinking io files Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c index e1afeb9..04052bf 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -364,6 +364,8 @@ struct fio_file *f = &td->files[i]; if (f->fd != -1) { + if (td->unlink && td->filetype == FIO_TYPE_FILE) + unlink(f->file_name); close(f->fd); f->fd = -1; }