commit | 24e94de41e76134fad05552588fe01af2cab1494 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Sun Jan 18 21:32:11 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 19 16:20:15 2009 -0800 |
tree | a76aaaf66251ca00bd03645be43e18abb7ed5fe2 | |
parent | d05c26ce690e867aabfc7d708d481e0f86f23496 [diff] [blame] |
net/9p: fid->fid is used uninitialized Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/9p/client.c b/net/9p/client.c index 821f1ec..1eb580c 100644 --- a/net/9p/client.c +++ b/net/9p/client.c
@@ -618,7 +618,7 @@ return ERR_PTR(-ENOMEM); ret = p9_idpool_get(clnt->fidpool); - if (fid->fid < 0) { + if (ret < 0) { ret = -ENOSPC; goto error; }