summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-02-02 06:06:35 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-02 06:06:35 -0800
commit7c0f82da343024b1ac260c8e2ee458464eb19de4 (patch)
tree4b4844c7dbe1c4da820ff4c3547838990c2e8c18 /include/linux
parent5f44f4a9ee66ba0232ee55fc7456b24aeb448149 (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