[PATCH] Must use ->real_file_size
authorJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 09:58:07 +0000 (10:58 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 09:58:07 +0000 (10:58 +0100)
commitee88470c001012d08ae37bfc31741a935be2e7a1
treedd8ebc7304dc0800f57ce2b9a241cfbcccf6e837
parent74b025b071b5bfbffa7ad7682b66b749e8d1f955
[PATCH] Must use ->real_file_size

->file_size is the size of the file from offset, while ->real_file_size
is the total size of the file. So when comparing EOF, we should look
at ->real_file_size against the offset.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
io_u.c