]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs: 9p/conv.c error path fix
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 20 Jul 2007 00:27:22 +0000 (17:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:39 +0000 (14:27 -0700)
commitb3b590287ca3c36e0a3fa28d626f126dd5226fc4
treed2eb1ab76c275a63561c6929c9813008fbc71e93
parent608fe2dd0715bc40d43e9b0c0fb7343e4fd7d719
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 <m.kozlowski@tuxland.pl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/9p/conv.c