diff options
author | Toomas Soome <tsoome@me.com> | 2019-03-20 17:29:38 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-03-28 16:47:03 +0200 |
commit | fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d (patch) | |
tree | 3c41e9c5ecf5f5c172efd2216f79327fd2ad2be5 /usr/src/uts/common/fs/dnlc.c | |
parent | bcb78a453dcc6eaa7c33432fac3626514e243154 (diff) | |
download | illumos-joyent-fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d.tar.gz |
10573 define TASKQID_INVALID as (taskq_id)0
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/fs/dnlc.c')
-rw-r--r-- | usr/src/uts/common/fs/dnlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/dnlc.c b/usr/src/uts/common/fs/dnlc.c index 81a5e65ae0..102375dedd 100644 --- a/usr/src/uts/common/fs/dnlc.c +++ b/usr/src/uts/common/fs/dnlc.c @@ -954,7 +954,7 @@ dnlc_reduce_cache(void *reduce_percent) if (dnlc_reduce_idle && (dnlc_nentries >= ncsize || reduce_percent)) { dnlc_reduce_idle = 0; if ((taskq_dispatch(system_taskq, do_dnlc_reduce_cache, - reduce_percent, TQ_NOSLEEP)) == (uintptr_t)NULL) + reduce_percent, TQ_NOSLEEP)) == TASKQID_INVALID) dnlc_reduce_idle = 1; } } |