projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7add9a
)
NFS: pass current net to rpc_pton() while parsing mount options
author
Stanislav Kinsbursky
<skinsbursky@parallels.com>
Thu, 26 Jan 2012 11:11:57 +0000
(15:11 +0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 6 Feb 2012 23:48:04 +0000
(18:48 -0500)
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c
patch
|
blob
|
history
diff --git
a/fs/nfs/super.c
b/fs/nfs/super.c
index 8e210b2c16d7a89e20955e57e287f3877861edfd..94667848af9ad6cedbb92ff747880050feebf1e3 100644
(file)
--- a/
fs/nfs/super.c
+++ b/
fs/nfs/super.c
@@
-1408,7
+1408,7
@@
static int nfs_parse_mount_options(char *raw,
if (string == NULL)
goto out_nomem;
mnt->nfs_server.addrlen =
- rpc_pton(
&init_
net, string, strlen(string),
+ rpc_pton(
mnt->
net, string, strlen(string),
(struct sockaddr *)
&mnt->nfs_server.address,
sizeof(mnt->nfs_server.address));
@@
-1430,7
+1430,7
@@
static int nfs_parse_mount_options(char *raw,
if (string == NULL)
goto out_nomem;
mnt->mount_server.addrlen =
- rpc_pton(
&init_
net, string, strlen(string),
+ rpc_pton(
mnt->
net, string, strlen(string),
(struct sockaddr *)
&mnt->mount_server.address,
sizeof(mnt->mount_server.address));