diff options
author | alfred <alfred@FreeBSD.org> | 2004-09-09 01:23:27 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-09-09 01:23:27 +0000 |
commit | 1d00793bf6f72d2209c94f630a51c7704d7b0745 (patch) | |
tree | 6772e95f5247b1c980cc3638f0082f4673482e5e /lib/libautofs/libautofs.3 | |
parent | c30a3c01a10dd20c3319c39e0201b6c5852a357c (diff) | |
download | FreeBSD-src-1d00793bf6f72d2209c94f630a51c7704d7b0745.zip FreeBSD-src-1d00793bf6f72d2209c94f630a51c7704d7b0745.tar.gz |
Add/document autoreq_getxid(3), which gets the autofs request
transaction id from the request, this is useful for debugging.
Fix the autoh_freeall(3) function to properly free the array of
auto handles. Before it was freeing individual members of the list
OK, however it was then advancing the pointer and freeing the wrong
data for the whole list.
Diffstat (limited to 'lib/libautofs/libautofs.3')
-rw-r--r-- | lib/libautofs/libautofs.3 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libautofs/libautofs.3 b/lib/libautofs/libautofs.3 index 784813e..fd9f1c3 100644 --- a/lib/libautofs/libautofs.3 +++ b/lib/libautofs/libautofs.3 @@ -63,6 +63,8 @@ .Ft void .Fn autoreq_getoffset "autoreq_t req" "off_t *offp" .Ft void +.Fn autoreq_getxid "autoreq_t req" "int *xidp" +.Ft void .Fn autoreq_setino "autoreq_t req" "autoino_t ino" .Ft void .Fn autoreq_seterrno "autoreq_t req" "int errno" @@ -176,6 +178,10 @@ return the auxilliray data associated with the request return the offset request associated with the request .Fa req . (used for readdir request) +.It Fn autoreq_getxid +return the transaction id associated with an autofs request, these +are unique per mount point, but not system wide. They can be used +for debugging to ensure requests are being accepted by the kernel. .El .Pp The following functions allow one to set the response sent to |