-
Andrew Morton authored
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.
7ce0fd51