diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-02-02 06:06:35 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-02 06:06:35 -0800 |
| commit | 7c0f82da343024b1ac260c8e2ee458464eb19de4 (patch) | |
| tree | 4b4844c7dbe1c4da820ff4c3547838990c2e8c18 /include/linux | |
| parent | 5f44f4a9ee66ba0232ee55fc7456b24aeb448149 (diff) | |
[PATCH] direct-IO: fix i_size handling on ENOSPC
When an appending O_DIRECT write hits ENOSPC we're returning a short write
which is _too_ short. The file ends up with an undersized i_size and fsck
complains.
So update the return value with the partial result before bailing out.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
