[PATCH] Fix offset/size setting problem fio-1.2
authorJens Axboe <axboe@suse.de>
Fri, 20 Jan 2006 11:38:29 +0000 (12:38 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 20 Jan 2006 11:38:29 +0000 (12:38 +0100)
commit838a3cd3b7587d3188dc0c75ec73ca068430f01b
tree3c9bdf596523d23c15f057a30947e22ceaeb02be
parent9104f874d726e84739d3b4008eee0f6ddfe96714
[PATCH] Fix offset/size setting problem

Add ->real_file_size, as ->file_size is the io size. Otherwise we don't
know if an offset + size is valid. This fixes the bug of offset >= size,
if size is set smaller than the device/file size.
fio.c
fio.h