summaryrefslogtreecommitdiffstats
path: root/sys/fs/autofs/autofs.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-11-07 15:40:34 +0000
committertrasz <trasz@FreeBSD.org>2014-11-07 15:40:34 +0000
commitaba7b57a359d5908c47c366fe4127ade7658215c (patch)
tree03f11a72547f2a9d3516ef4efb38175808ab38f1 /sys/fs/autofs/autofs.h
parent2eebc771d395a0aeb416e31265408ed6508575f8 (diff)
downloadFreeBSD-src-aba7b57a359d5908c47c366fe4127ade7658215c.zip
FreeBSD-src-aba7b57a359d5908c47c366fe4127ade7658215c.tar.gz
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
Diffstat (limited to 'sys/fs/autofs/autofs.h')
-rw-r--r--sys/fs/autofs/autofs.h2
1 files changed, 1 insertions, 1 deletions
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;
};
OpenPOWER on IntegriCloud