commit | ee88470c001012d08ae37bfc31741a935be2e7a1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Dec 20 10:58:07 2006 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Dec 20 10:58:07 2006 +0100 |
tree | dd8ebc7304dc0800f57ce2b9a241cfbcccf6e837 | |
parent | 74b025b071b5bfbffa7ad7682b66b749e8d1f955 [diff] |
[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>