diff options
author | trasz <trasz@FreeBSD.org> | 2014-11-07 15:40:34 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-11-07 15:40:34 +0000 |
commit | aba7b57a359d5908c47c366fe4127ade7658215c (patch) | |
tree | 03f11a72547f2a9d3516ef4efb38175808ab38f1 /sys/fs/autofs/autofs_vnops.c | |
parent | 2eebc771d395a0aeb416e31265408ed6508575f8 (diff) | |
download | FreeBSD-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_vnops.c')
-rw-r--r-- | sys/fs/autofs/autofs_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/autofs/autofs_vnops.c b/sys/fs/autofs/autofs_vnops.c index 392c253..a37fca3 100644 --- a/sys/fs/autofs/autofs_vnops.c +++ b/sys/fs/autofs/autofs_vnops.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/namei.h> #include <sys/signalvar.h> #include <sys/systm.h> +#include <sys/taskqueue.h> #include <sys/vnode.h> #include <machine/atomic.h> #include <vm/uma.h> |