Fix systemic naming mistake

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@34 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
behlendo 2008-03-10 19:04:14 +00:00
parent 6adf99e7d6
commit 4098c921b6
3 changed files with 8 additions and 4 deletions

View File

@ -76,7 +76,7 @@ extern taskq_t *__taskq_create(const char *, int, pri_t, int, int, uint_t);
__taskq_create(name, thr, pri, min, max, flags)
#define taskq_dispatch(tq, func, priv, flags) \
__taskq_dispatch(tq, func, priv, flags)
#define taskq_destory(tq) destroy_workqueue(tq)
#define taskq_destroy(tq) destroy_workqueue(tq)
#define taskq_wait(tq) flush_workqueue(tq)
#define taskq_member(tq, kthr) 1 /* XXX -Just be true */

4
include/sys/vfs.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _SPL_ZFS_H
#define _SPL_ZFS_H
#endif /* SPL_ZFS_H */

View File

@ -62,7 +62,7 @@ splat_taskq_test1(struct file *file, void *arg)
splat_vprint(file, SPLAT_TASKQ_TEST1_NAME,
"Taskq '%s' function '%s' dispatch failed\n",
tq_arg.name, sym2str(splat_taskq_test1_func));
taskq_destory(tq);
taskq_destroy(tq);
return -EINVAL;
}
@ -71,7 +71,7 @@ splat_taskq_test1(struct file *file, void *arg)
taskq_wait(tq);
splat_vprint(file, SPLAT_TASKQ_TEST1_NAME, "Taskq '%s' destroying\n",
tq_arg.name);
taskq_destory(tq);
taskq_destroy(tq);
return (tq_arg.flag) ? 0 : -EINVAL;
}
@ -174,7 +174,7 @@ splat_taskq_test2(struct file *file, void *arg) {
splat_vprint(file, SPLAT_TASKQ_TEST2_NAME,
"Taskq '%s/%d; destroying\n",
tq_args[i].name, tq_args[i].id);
taskq_destory(tq[i]);
taskq_destroy(tq[i]);
if (!rc && tq_args[i].flag != ((i * 2) + 1)) {
splat_vprint(file, SPLAT_TASKQ_TEST2_NAME,