diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-10 19:04:14 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-10 19:04:14 +0000 |
commit | 4098c921b68edd5ae03f5213f08fd1b99cd05211 (patch) | |
tree | f5a5d3ce5eab21da44116bc8478e2c4c7ad9721f | |
parent | 6adf99e7d6c179039482e5341a907488d3a33ea7 (diff) |
Fix systemic naming mistake
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@34 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
-rw-r--r-- | include/sys/taskq.h | 2 | ||||
-rw-r--r-- | include/sys/vfs.h | 4 | ||||
-rw-r--r-- | modules/splat/splat-taskq.c | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/include/sys/taskq.h b/include/sys/taskq.h index 2d7583daf..fd4af1232 100644 --- a/include/sys/taskq.h +++ b/include/sys/taskq.h @@ -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 */ diff --git a/include/sys/vfs.h b/include/sys/vfs.h new file mode 100644 index 000000000..134f4b6bf --- /dev/null +++ b/include/sys/vfs.h @@ -0,0 +1,4 @@ +#ifndef _SPL_ZFS_H +#define _SPL_ZFS_H + +#endif /* SPL_ZFS_H */ diff --git a/modules/splat/splat-taskq.c b/modules/splat/splat-taskq.c index 5abe3a02d..6effc4cab 100644 --- a/modules/splat/splat-taskq.c +++ b/modules/splat/splat-taskq.c @@ -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, |