projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d05c26c
)
net/9p: fid->fid is used uninitialized
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 19 Jan 2009 05:32:11 +0000
(21:32 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 20 Jan 2009 00:20:15 +0000
(16:20 -0800)
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/9p/client.c
patch
|
blob
|
blame
|
history
diff --git
a/net/9p/client.c
b/net/9p/client.c
index 821f1ec0b2c38084444b7da0efb32f993f1e363c..1eb580c38fbbcf63ca5d0bc08ff4ba8a3f3ceb94 100644
(file)
--- 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;
}