summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarsh Prateek Bora <harsh@linux.vnet.ibm.com>2011-03-31 12:19:39 +0200
committerEric Van Hensbergen <ericvh@gmail.com>2011-04-15 22:26:15 +0200
commitb76225e22ac98070325ee2ba89473c1e1360c4cb (patch)
treef556275f6238fb395087b2dba3f849ffb0dabd45 /include
parent9p: Fix sparse error (diff)
downloadlinux-b76225e22ac98070325ee2ba89473c1e1360c4cb.tar.xz
linux-b76225e22ac98070325ee2ba89473c1e1360c4cb.zip
net/9p: nwname should be an unsigned int
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric VAn Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/9p/client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h
index 59b5df599210..051a99f79769 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -218,8 +218,8 @@ void p9_client_disconnect(struct p9_client *clnt);
void p9_client_begin_disconnect(struct p9_client *clnt);
struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
char *uname, u32 n_uname, char *aname);
-struct p9_fid *p9_client_walk(struct p9_fid *oldfid, int nwname, char **wnames,
- int clone);
+struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname,
+ char **wnames, int clone);
int p9_client_open(struct p9_fid *fid, int mode);
int p9_client_fcreate(struct p9_fid *fid, char *name, u32 perm, int mode,
char *extension);