diff options
author | Dan Carpenter <error27@gmail.com> | 2011-08-26 18:57:40 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-10-24 18:13:12 +0200 |
commit | ef6b0807e2c986d5f1cb878e1b32a7cf4c32b4c8 (patch) | |
tree | 6735db224148cc9c75ba722a8a338323626c3d46 /include/net/9p | |
parent | fs/9p: Cleanup option parsing in 9p (diff) | |
download | linux-ef6b0807e2c986d5f1cb878e1b32a7cf4c32b4c8.tar.xz linux-ef6b0807e2c986d5f1cb878e1b32a7cf4c32b4c8.zip |
fs/9p: change an int to unsigned int
Without this msize=4294967295 will result in a crash
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
-rw-r--r-- | include/net/9p/client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index 55ce72ce9861..d479d7dcc4d5 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h @@ -151,7 +151,7 @@ struct p9_req_t { struct p9_client { spinlock_t lock; /* protect client structure */ - int msize; + unsigned int msize; unsigned char proto_version; struct p9_trans_module *trans_mod; enum p9_trans_status status; |