Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294490
b: refs/heads/master
c: 9937347
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Feb 19, 2012
1 parent e468aa1 commit 8799e70
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0a702195234eb77c4097148285cccf7f095de9cf
refs/heads/master: 9937347a1ee6a67e450cc9e90750ce0b10abfe75
3 changes: 1 addition & 2 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,7 @@ static struct nfs_parsed_mount_data *nfs_alloc_parsed_mount_data(unsigned int ve
data->auth_flavor_len = 1;
data->version = version;
data->minorversion = 0;
data->net = current->nsproxy->net_ns;
security_init_mnt_opts(&data->lsm_opts);
}
return data;
Expand Down Expand Up @@ -1110,8 +1111,6 @@ static int nfs_parse_mount_options(char *raw,

free_secdata(secdata);

mnt->net = current->nsproxy->net_ns;

while ((p = strsep(&raw, ",")) != NULL) {
substring_t args[MAX_OPT_ARGS];
unsigned long option;
Expand Down

0 comments on commit 8799e70

Please sign in to comment.