Commit:     bbe06f6bf7e764a9eb0e3cdcec2b12c743f35757
Parent:     9700382c3c9ff3e673e587084d76eedb3ba88668
Author:     Mariusz Kozlowski <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 00:39:13 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 15:39:42 2007 -0700

    fs: 9p/conv.c error path fix
    When buf_check_overflow() returns != 0 we will hit kfree(ERR_PTR(err)) and
    it will not be happy about it.
    Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
    Cc: Latchesar Ionkov <[EMAIL PROTECTED]>
    Cc: Eric Van Hensbergen <[EMAIL PROTECTED]>
    Cc: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 net/9p/conv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/9p/conv.c b/net/9p/conv.c
index 3745117..f2a041c 100644
--- a/net/9p/conv.c
+++ b/net/9p/conv.c
@@ -763,6 +763,7 @@ struct p9_fcall *p9_create_twrite(u32 fid, u64 offset, u32 
        if (err) {
                fc = ERR_PTR(err);
+               goto error;
        if (buf_check_overflow(bufp)) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to