diff --git a/fs/xfs/pagebuf/page_buf.c b/fs/xfs/pagebuf/page_buf.c index 1a78432f1480363bfb32e844ba9c88391795aa2e..515b0bb68b41899cd54429167291f8476195afe9 100644 --- a/fs/xfs/pagebuf/page_buf.c +++ b/fs/xfs/pagebuf/page_buf.c @@ -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. */ diff --git a/fs/xfs/pagebuf/page_buf.h b/fs/xfs/pagebuf/page_buf.h index c7739326de175c2066c87d2b7c4716fd6e089be5..c2462b352364618d51fbed7fa6dbda6b2d3c3433 100644 --- a/fs/xfs/pagebuf/page_buf.h +++ b/fs/xfs/pagebuf/page_buf.h @@ -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__ */