diff options
Diffstat (limited to 'fs/btrfs/async-thread.h')
-rw-r--r-- | fs/btrfs/async-thread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/async-thread.h b/fs/btrfs/async-thread.h index 9d8da53f6dd9..fce623cfe3da 100644 --- a/fs/btrfs/async-thread.h +++ b/fs/btrfs/async-thread.h | |||
@@ -121,6 +121,8 @@ void btrfs_requeue_work(struct btrfs_work *work); | |||
121 | void btrfs_set_work_high_prio(struct btrfs_work *work); | 121 | void btrfs_set_work_high_prio(struct btrfs_work *work); |
122 | 122 | ||
123 | struct btrfs_workqueue_struct; | 123 | struct btrfs_workqueue_struct; |
124 | /* Internal use only */ | ||
125 | struct __btrfs_workqueue_struct; | ||
124 | 126 | ||
125 | struct btrfs_work_struct { | 127 | struct btrfs_work_struct { |
126 | void (*func)(struct btrfs_work_struct *arg); | 128 | void (*func)(struct btrfs_work_struct *arg); |
@@ -130,7 +132,7 @@ struct btrfs_work_struct { | |||
130 | /* Don't touch things below */ | 132 | /* Don't touch things below */ |
131 | struct work_struct normal_work; | 133 | struct work_struct normal_work; |
132 | struct list_head ordered_list; | 134 | struct list_head ordered_list; |
133 | struct btrfs_workqueue_struct *wq; | 135 | struct __btrfs_workqueue_struct *wq; |
134 | unsigned long flags; | 136 | unsigned long flags; |
135 | }; | 137 | }; |
136 | 138 | ||
@@ -145,4 +147,5 @@ void btrfs_queue_work(struct btrfs_workqueue_struct *wq, | |||
145 | struct btrfs_work_struct *work); | 147 | struct btrfs_work_struct *work); |
146 | void btrfs_destroy_workqueue(struct btrfs_workqueue_struct *wq); | 148 | void btrfs_destroy_workqueue(struct btrfs_workqueue_struct *wq); |
147 | void btrfs_workqueue_set_max(struct btrfs_workqueue_struct *wq, int max); | 149 | void btrfs_workqueue_set_max(struct btrfs_workqueue_struct *wq, int max); |
150 | void btrfs_set_work_high_priority(struct btrfs_work_struct *work); | ||
148 | #endif | 151 | #endif |