Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69214
b: refs/heads/master
c: aad7000
h: refs/heads/master
v: v3
  • Loading branch information
James Lentini authored and Trond Myklebust committed Oct 9, 2007
1 parent 4942877 commit 74d8693
Show file tree
Hide file tree
Showing 2 changed files with 5 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: efd8340bb19c26a43e77c92fee9283b1f5777204
refs/heads/master: aad700073557c7932ef9f81c19a5e0647f8a6850
6 changes: 4 additions & 2 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,8 +1027,10 @@ static int nfs_try_mount(struct nfs_parsed_mount_data *args,
sin = args->mount_server.address;
else
sin = args->nfs_server.address;
if (args->mount_server.port != 0)
sin.sin_port = htons(args->mount_server.port);
/*
* autobind will be used if mount_server.port == 0
*/
sin.sin_port = htons(args->mount_server.port);

/*
* Now ask the mount server to map our export path
Expand Down

0 comments on commit 74d8693

Please sign in to comment.