diff options
author | mckusick <mckusick@FreeBSD.org> | 2000-11-14 08:00:39 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2000-11-14 08:00:39 +0000 |
commit | 42ecbdff706e51c796129c0cb8f4af28c749068d (patch) | |
tree | bd83949c1e4c962c837400c83d016ad5dd3d8fff /sys/nfsclient/nfs_node.c | |
parent | c4a77380ec9adcd9cb29a97ae950d232d32971ae (diff) | |
download | FreeBSD-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/nfsclient/nfs_node.c')
-rw-r--r-- | sys/nfsclient/nfs_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c index c706a20..1ede795 100644 --- a/sys/nfsclient/nfs_node.c +++ b/sys/nfsclient/nfs_node.c @@ -279,8 +279,8 @@ nfs_reclaim(ap) /* * For nqnfs, take it off the timer queue as required. */ - if ((nmp->nm_flag & NFSMNT_NQNFS) && np->n_timer.cqe_next != 0) { - CIRCLEQ_REMOVE(&nmp->nm_timerhead, np, n_timer); + if ((nmp->nm_flag & NFSMNT_NQNFS) && TAILQ_NEXT(np, n_timer) != 0) { + TAILQ_REMOVE(&nmp->nm_timerhead, np, n_timer); } /* |