9p: fix bad error path in conversion routines
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Thu, 23 Aug 2007 15:24:28 +0000 (10:24 -0500)
committerEric Van Hensbergen <ericvh@ericvh-laptop.austin.ibm.com>
Thu, 23 Aug 2007 15:25:05 +0000 (10:25 -0500)
commit02881d94780faa86e32952e46381f7cd4c78d5ac
tree3bd68a74e275ef3c59a646ff531a7c0582b17895
parentfbcb7599e411309cf47a2b834d3546469c153cf4
9p: fix bad error path in conversion routines

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>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/conv.c