commit | bc3456fa06cc7777c4764da8c7b1c0fd0a3c3772 | [log] [tgz] |
---|---|---|
author | Aaron Carroll <aaronc@gelato.unsw.edu.au> | Wed Jun 25 09:20:37 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 25 09:20:37 2008 +0200 |
tree | a9af5a526ec39352957c2a2fc393426ad7e90f6b | |
parent | f3f552b9920cc45c5b1f9c679f36b8ddb13927d0 [diff] |
Prevent filetype disappearing fio_file->filetype is set in add_file(), but for duplicated files fio-file->file_name is already set so add_file() is not called. This patch copies the filetype at the same time as file_name so it remains valid for dup'd files. Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>