Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69215
b: refs/heads/master
c: 0ac8377
h: refs/heads/master
i:
  69213: 4942877
  69211: a3abb51
  69207: cc7f34b
  69199: e3e4458
  69183: 211715b
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Oct 9, 2007
1 parent 74d8693 commit 2af0e66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: aad700073557c7932ef9f81c19a5e0647f8a6850
refs/heads/master: 0ac83779fa5bffb90e32a97abc61f1840af31ee9
8 changes: 5 additions & 3 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ struct nfs_parsed_mount_data {

struct {
struct sockaddr_in address;
char *hostname;
unsigned int program;
unsigned int version;
unsigned short port;
Expand Down Expand Up @@ -116,7 +117,7 @@ enum {

/* Mount options that take string arguments */
Opt_sec, Opt_proto, Opt_mountproto,
Opt_addr, Opt_mounthost, Opt_clientaddr,
Opt_addr, Opt_mountaddr, Opt_clientaddr,

/* Mount options that are ignored */
Opt_userspace, Opt_deprecated,
Expand Down Expand Up @@ -175,7 +176,8 @@ static match_table_t nfs_mount_option_tokens = {
{ Opt_mountproto, "mountproto=%s" },
{ Opt_addr, "addr=%s" },
{ Opt_clientaddr, "clientaddr=%s" },
{ Opt_mounthost, "mounthost=%s" },
{ Opt_userspace, "mounthost=%s" },
{ Opt_mountaddr, "mountaddr=%s" },

{ Opt_err, NULL }
};
Expand Down Expand Up @@ -961,7 +963,7 @@ static int nfs_parse_mount_options(char *raw,
goto out_nomem;
mnt->client_address = string;
break;
case Opt_mounthost:
case Opt_mountaddr:
string = match_strdup(args);
if (string == NULL)
goto out_nomem;
Expand Down

0 comments on commit 2af0e66

Please sign in to comment.