From 832b30bbaee35662c3d43d75954b41317d4d4bde Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Fri, 7 Mar 2008 11:40:33 -0600 Subject: [PATCH] --- yaml --- r: 96762 b: refs/heads/master c: 728fc4ef17748042d9c71144aa339ed9c68e8b01 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/9p/client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 866e07bd5dd2..5c2b119031c8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1549497e903a1ffa1c5808337a987180e480e7a +refs/heads/master: 728fc4ef17748042d9c71144aa339ed9c68e8b01 diff --git a/trunk/net/9p/client.c b/trunk/net/9p/client.c index 553c34e9f296..2ffe40cf2f01 100644 --- a/trunk/net/9p/client.c +++ b/trunk/net/9p/client.c @@ -154,7 +154,7 @@ struct p9_client *p9_client_create(const char *dev_name, char *options) spin_lock_init(&clnt->lock); INIT_LIST_HEAD(&clnt->fidlist); clnt->fidpool = p9_idpool_create(); - if (!clnt->fidpool) { + if (IS_ERR(clnt->fidpool)) { err = PTR_ERR(clnt->fidpool); clnt->fidpool = NULL; goto error;