Commit 0a358d0e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] make pagebuf_workqueue private to page_buf.c

SGI Modid: 2.5.x-xfs:slinx:134185a
parent 9554960c
......@@ -120,6 +120,8 @@ pb_trace_func(
STATIC kmem_cache_t *pagebuf_cache;
STATIC pagebuf_daemon_t *pb_daemon;
STATIC void pagebuf_daemon_wakeup(int);
STATIC struct workqueue_struct *pagebuf_workqueue;
/*
* Pagebuf module configuration parameters, exported via
......@@ -137,11 +139,6 @@ pagebuf_param_t pb_params = {{ HZ, 15 * HZ, 0, 0 }};
struct pbstats pbstats;
/*
* Queue for delayed I/O completion.
*/
struct workqueue_struct *pagebuf_workqueue;
/*
* Pagebuf allocation / freeing.
*/
......
......@@ -386,6 +386,4 @@ static __inline__ void pagebuf_run_task_queue(page_buf_t *pb)
blk_run_queues();
}
extern struct workqueue_struct *pagebuf_workqueue;
#endif /* __PAGE_BUF_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment