diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-05-29 09:23:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-29 09:23:15 -0700 |
| commit | 7ce0fd5136421e5b9c5924e6433d0702791fe818 (patch) | |
| tree | eb73a3ef7998e5989c1c795fbe3cbe8f2f40e09c /include/linux/errqueue.h | |
| parent | 5c5f1d167fd10c40925b82e5754f7f191abfebf5 (diff) | |
[PATCH] Fix writev when a segment generates EFAULT
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
If writev() is passed a vector in which the second or later segment generates
a fault it will currently return -EFAULT.
It shouldn't. It should write what it can and return the number of bytes
which were successfully copied.
Fix that up by writing the partial result and then returning the right value.
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
