projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'nds32-for-linus-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
net
/
9p
/
client.c
diff --git
a/net/9p/client.c
b/net/9p/client.c
index
18c5271
..
5c13431
100644
(file)
--- a/
net/9p/client.c
+++ b/
net/9p/client.c
@@
-225,7
+225,8
@@
static int parse_opts(char *opts, struct p9_client *clnt)
}
free_and_return:
}
free_and_return:
- v9fs_put_trans(clnt->trans_mod);
+ if (ret)
+ v9fs_put_trans(clnt->trans_mod);
kfree(tmp_options);
return ret;
}
kfree(tmp_options);
return ret;
}