commit | 838a3cd3b7587d3188dc0c75ec73ca068430f01b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Fri Jan 20 12:38:29 2006 +0100 |
committer | Jens Axboe <axboe@suse.de> | Fri Jan 20 12:38:29 2006 +0100 |
tree | 3c9bdf596523d23c15f057a30947e22ceaeb02be | |
parent | 9104f874d726e84739d3b4008eee0f6ddfe96714 [diff] |
[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.