diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-04-29 17:32:31 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-29 17:32:31 -0700 |
| commit | 72007d2de12d42233d32337fef0c61b21e3771a6 (patch) | |
| tree | 1b79a75409821ed98b64120c933fbc802bbd0f0f /kernel | |
| parent | 3bf1ad5d6fb881542bd95d8a48946e1eaeb96fa9 (diff) | |
[PATCH] proc_file_read fix
From: Miklos.Szeredi@eth.ericsson.se (Miklos Szeredi)
This fixes a problem with method 0 of proc_file_read (when the whole file
is copied to the page). The calculation of the final bytecount is wrong,
and hence smaller then page size reads will give a truncated file.
Current 2.4 kernels do it this way as well.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
