summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nqnfs.h
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2000-11-14 08:00:39 +0000
committermckusick <mckusick@FreeBSD.org>2000-11-14 08:00:39 +0000
commit42ecbdff706e51c796129c0cb8f4af28c749068d (patch)
treebd83949c1e4c962c837400c83d016ad5dd3d8fff /sys/nfs/nqnfs.h
parentc4a77380ec9adcd9cb29a97ae950d232d32971ae (diff)
downloadFreeBSD-src-42ecbdff706e51c796129c0cb8f4af28c749068d.zip
FreeBSD-src-42ecbdff706e51c796129c0cb8f4af28c749068d.tar.gz
In preparation for deprecating CIRCLEQ macros in favor of TAILQ
macros which provide the same functionality and are a bit more efficient, convert use of CIRCLEQ's in NFS to TAILQ's.
Diffstat (limited to 'sys/nfs/nqnfs.h')
-rw-r--r--sys/nfs/nqnfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nqnfs.h b/sys/nfs/nqnfs.h
index 15b5af5..94a8e27 100644
--- a/sys/nfs/nqnfs.h
+++ b/sys/nfs/nqnfs.h
@@ -105,7 +105,7 @@ struct nqhost {
struct nqlease {
LIST_ENTRY(nqlease) lc_hash; /* Fhandle hash list */
- CIRCLEQ_ENTRY(nqlease) lc_timer; /* Timer queue list */
+ TAILQ_ENTRY(nqlease) lc_timer; /* Timer queue list */
time_t lc_expiry; /* Expiry time (sec) */
struct nqhost lc_host; /* Host that got lease */
struct nqm *lc_morehosts; /* Other hosts that share read lease */
@@ -173,7 +173,7 @@ struct nqm {
/*
* List head for timer queue.
*/
-extern CIRCLEQ_HEAD(nqtimerhead, nqlease) nqtimerhead;
+extern TAILQ_HEAD(nqtimerhead, nqlease) nqtimerhead;
/*
* List head for the file handle hash table.
OpenPOWER on IntegriCloud