projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a43f2
)
NFSv4: Ensure that referral mounts bind to a reserved port
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:30 +0000
(09:34 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:30 +0000
(09:34 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/inode.c
b/fs/nfs/inode.c
index ee13cb01b56ef37edf58008f585f1f71e6e9485c..648f593de0fe914a6fd05693665f4fca2b9cfba8 100644
(file)
--- a/
fs/nfs/inode.c
+++ b/
fs/nfs/inode.c
@@
-2078,6
+2078,8
@@
static struct rpc_clnt *nfs4_create_client(struct nfs_server *server,
__FUNCTION__, err);
goto out_fail;
}
+ /* Bind to a reserved port! */
+ xprt->resvport = 1;
clnt = rpc_create_client(xprt, server->hostname, &nfs_program,
server->rpc_ops->version, flavor);
if (IS_ERR(clnt)) {