From d3a183c329b6875b59086962a3a2197131e5c39b Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 24 Jan 2012 11:51:02 +0100 Subject: [PATCH] net/nfs: increase timeout to 15 seconds On my laptop with avahi enabled (linux mdns implementation), the unmount take quite long, because the avahi daemon tries to resolve the client's host name. This leads to a delay of about 8 seconds of the unmount reply messages, so that barebox runs into a timeout. This patch increases the NFS timeout to 15 to work around the problem. Signed-off-by: Marc Kleine-Budde Signed-off-by: Sascha Hauer --- net/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfs.c b/net/nfs.c index 0a4b787e8..f6cbc7c3c 100644 --- a/net/nfs.c +++ b/net/nfs.c @@ -124,7 +124,7 @@ struct rpc_t { } u; }; -#define NFS_TIMEOUT 1 +#define NFS_TIMEOUT 15 static unsigned long rpc_id = 0; static int nfs_offset = -1;