]> err.no Git - linux-2.6/blobdiff - fs/nfs/client.c
Remove all inclusions of <linux/config.h>
[linux-2.6] / fs / nfs / client.c
index ec1938d4b814f3d3b9e031aa076499c7ca6102bd..6e4e48c5092afec39d716309ccccd5900105d4e3 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 
@@ -460,7 +459,8 @@ static int nfs_start_lockd(struct nfs_server *server)
                goto out;
        if (server->flags & NFS_MOUNT_NONLM)
                goto out;
-       error = lockd_up();
+       error = lockd_up((server->flags & NFS_MOUNT_TCP) ?
+                       IPPROTO_TCP : IPPROTO_UDP);
        if (error < 0)
                server->flags |= NFS_MOUNT_NONLM;
        else