diff options
Diffstat (limited to 'net/9p')
-rw-r--r-- | net/9p/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index bb2b8a3af196..cb170750337c 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
@@ -127,12 +127,12 @@ void p9_client_destroy(struct p9_client *clnt) | |||
127 | clnt->trans = NULL; | 127 | clnt->trans = NULL; |
128 | } | 128 | } |
129 | 129 | ||
130 | if (clnt->fidpool) | ||
131 | p9_idpool_destroy(clnt->fidpool); | ||
132 | |||
133 | list_for_each_entry_safe(fid, fidptr, &clnt->fidlist, flist) | 130 | list_for_each_entry_safe(fid, fidptr, &clnt->fidlist, flist) |
134 | p9_fid_destroy(fid); | 131 | p9_fid_destroy(fid); |
135 | 132 | ||
133 | if (clnt->fidpool) | ||
134 | p9_idpool_destroy(clnt->fidpool); | ||
135 | |||
136 | kfree(clnt); | 136 | kfree(clnt); |
137 | } | 137 | } |
138 | EXPORT_SYMBOL(p9_client_destroy); | 138 | EXPORT_SYMBOL(p9_client_destroy); |