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)
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>

No differences found