summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_superblock.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-02-15 12:49:04 -0600
committerDave Kleikamp <shaggy@austin.ibm.com>2006-02-15 12:49:04 -0600
commit91dbb4deb30e817efc8d6bed89b1190a489ca776 (patch)
treed3742a35be49da1ab785ac398459d7a71a64a765 /fs/jfs/jfs_superblock.h
parent4837c672fd4d43c519d6b53308ee68d45b91b872 (diff)
downloadlwn-91dbb4deb30e817efc8d6bed89b1190a489ca776.tar.gz
lwn-91dbb4deb30e817efc8d6bed89b1190a489ca776.zip
JFS: Use the kthread_ API
Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_superblock.h')
-rw-r--r--fs/jfs/jfs_superblock.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/jfs/jfs_superblock.h b/fs/jfs/jfs_superblock.h
index fcf781bf31cb..682cf1a68a18 100644
--- a/fs/jfs/jfs_superblock.h
+++ b/fs/jfs/jfs_superblock.h
@@ -113,12 +113,9 @@ extern int jfs_mount(struct super_block *);
extern int jfs_mount_rw(struct super_block *, int);
extern int jfs_umount(struct super_block *);
extern int jfs_umount_rw(struct super_block *);
-
-extern int jfs_stop_threads;
-extern struct completion jfsIOwait;
-extern wait_queue_head_t jfs_IO_thread_wait;
-extern wait_queue_head_t jfs_commit_thread_wait;
-extern wait_queue_head_t jfs_sync_thread_wait;
extern int jfs_extendfs(struct super_block *, s64, int);
+extern struct task_struct *jfsIOthread;
+extern struct task_struct *jfsSyncThread;
+
#endif /*_H_JFS_SUPERBLOCK */