diff options
author | trasz <trasz@FreeBSD.org> | 2015-03-07 19:32:19 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-03-07 19:32:19 +0000 |
commit | 97710cbe33ec6723cc9fca56b97045a54a06e1a7 (patch) | |
tree | 5afa96ec0d4d07d8940b04369fd1954eb8a1cd56 /sys/fs/autofs/autofs.h | |
parent | daec60ce10a3358229beb0a5762a9fc19a579272 (diff) | |
download | FreeBSD-src-97710cbe33ec6723cc9fca56b97045a54a06e1a7.zip FreeBSD-src-97710cbe33ec6723cc9fca56b97045a54a06e1a7.tar.gz |
MFC r273127:
Make automountd(8) inform autofs(4) whether directory being handled can
have wildcards. This makes it possible for autofs(4) to avoid requesting
automountd(8) action on access to nonexistent nodes - unless wildcards
are actually used.
Note that this change breaks ABI for automountd(8).
MFC r278521:
Restore ABI compatibility, broken in r273127. Note that while this fixes
ABI with 10.1, it breaks ABI for 11-CURRENT, so rebuild of automountd(8)
is neccessary.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/fs/autofs/autofs.h')
-rw-r--r-- | sys/fs/autofs/autofs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/autofs/autofs.h b/sys/fs/autofs/autofs.h index dc33eef..6ea198c 100644 --- a/sys/fs/autofs/autofs.h +++ b/sys/fs/autofs/autofs.h @@ -74,6 +74,7 @@ struct autofs_node { struct vnode *an_vnode; struct sx an_vnode_lock; bool an_cached; + bool an_wildcards; struct callout an_callout; int an_retries; struct timespec an_ctime; @@ -97,6 +98,7 @@ struct autofs_request { int ar_id; bool ar_done; int ar_error; + bool ar_wildcards; bool ar_in_progress; char ar_from[MAXPATHLEN]; char ar_path[MAXPATHLEN]; |