]> Git Repo - linux.git/commit - fs/proc/base.c
[PATCH] fix mem_write() return value
authorFrederik Deweerdt <[email protected]>
Fri, 29 Sep 2006 09:01:02 +0000 (02:01 -0700)
committerLinus Torvalds <[email protected]>
Fri, 29 Sep 2006 16:18:19 +0000 (09:18 -0700)
commitf7ca54f486d3b07f48b8bbc92705bde6ba98ee54
tree33a464bf15016d5521c1c18f53af5c64a2cc06de
parent87d7c8aca8670a772f74766c19e0345a606b67a9
[PATCH] fix mem_write() return value

At the beginning of the routine, "copied" is set to 0, but it is no good
because in lines 805 and 812 it is set to other values.  Finally, the
routine returns as if it copied 12 (=ENOMEM) bytes less than it actually
did.

Signed-off-by: Frederik Deweerdt <[email protected]>
Acked-by: Eric Biederman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/base.c
This page took 0.04855 seconds and 4 git commands to generate.