diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-01-18 21:32:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-19 16:20:15 -0800 |
commit | 24e94de41e76134fad05552588fe01af2cab1494 (patch) | |
tree | a76aaaf66251ca00bd03645be43e18abb7ed5fe2 /net/9p | |
parent | d05c26ce690e867aabfc7d708d481e0f86f23496 (diff) |
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>
Diffstat (limited to 'net/9p')
-rw-r--r-- | net/9p/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index 821f1ec0b2c3..1eb580c38fbb 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -618,7 +618,7 @@ static struct p9_fid *p9_fid_create(struct p9_client *clnt) return ERR_PTR(-ENOMEM); ret = p9_idpool_get(clnt->fidpool); - if (fid->fid < 0) { + if (ret < 0) { ret = -ENOSPC; goto error; } |