9p: Possible regression in p9_client_stat
authorAbhishek Kulkarni <adkulkar@umail.iu.edu>
Tue, 14 Jul 2009 18:25:41 +0000 (13:25 -0500)
committerEric Van Hensbergen <ericvh@vTrogdor.(none)>
Tue, 14 Jul 2009 20:54:41 +0000 (15:54 -0500)
commiteedfe1c4289216af5a0a7f38e6b2c4d3f07c087f
tree5e08b79c88c36ef0607f830523f253305abf8dff
parenta17d1720aa35623a9bef3707b36242706714bca5
9p: Possible regression in p9_client_stat

Fix a possible regression with p9_client_stat where it can try to kfree
an ERR_PTR after an erroneous p9pdu_readf. Also remove an unnecessary data
buffer increment in p9_client_read.

Signed-off-by: Abhishek Kulkarni <adkulkar@umail.iu.edu>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/client.c