Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189483
b: refs/heads/master
c: 3dc9fef
h: refs/heads/master
i:
  189481: 9e2bdcd
  189479: 566f3bb
v: v3
  • Loading branch information
Dan Carpenter authored and Eric Van Hensbergen committed Apr 5, 2010
1 parent 5819e4f commit 2e29d8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85a770a8889035625466a4cfb1393cd7d2ffd165
refs/heads/master: 3dc9fef67f6292692dba181a6d0fd0211bd0a607
5 changes: 3 additions & 2 deletions trunk/net/9p/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ inline int p9_is_proto_dotu(struct p9_client *clnt)
EXPORT_SYMBOL(p9_is_proto_dotu);

/* Interpret mount option for protocol version */
static unsigned char get_protocol_version(const substring_t *name)
static int get_protocol_version(const substring_t *name)
{
unsigned char version = -EINVAL;
int version = -EINVAL;

if (!strncmp("9p2000", name->from, name->to-name->from)) {
version = p9_proto_legacy;
P9_DPRINTK(P9_DEBUG_9P, "Protocol version: Legacy\n");
Expand Down

0 comments on commit 2e29d8c

Please sign in to comment.