From aba7b57a359d5908c47c366fe4127ade7658215c Mon Sep 17 00:00:00 2001 From: trasz Date: Fri, 7 Nov 2014 15:40:34 +0000 Subject: MFC r272403: Make autofs timeout handling use timeout task instead of callout; that's because the handler can sleep on sx lock. Sponsored by: The FreeBSD Foundation --- sys/fs/autofs/autofs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/autofs/autofs.h') diff --git a/sys/fs/autofs/autofs.h b/sys/fs/autofs/autofs.h index 2c72645..89789fd 100644 --- a/sys/fs/autofs/autofs.h +++ b/sys/fs/autofs/autofs.h @@ -97,7 +97,7 @@ struct autofs_request { char ar_prefix[MAXPATHLEN]; char ar_key[MAXPATHLEN]; char ar_options[MAXPATHLEN]; - struct callout ar_callout; + struct timeout_task ar_task; volatile u_int ar_refcount; }; -- cgit v1.1