diff --git a/[refs] b/[refs] index 7245b8cd0813..0669a3238bbe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: efd8340bb19c26a43e77c92fee9283b1f5777204 +refs/heads/master: aad700073557c7932ef9f81c19a5e0647f8a6850 diff --git a/trunk/fs/nfs/super.c b/trunk/fs/nfs/super.c index 5085f53be2fe..094d2f832c3c 100644 --- a/trunk/fs/nfs/super.c +++ b/trunk/fs/nfs/super.c @@ -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