summaryrefslogtreecommitdiffstats
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-30 14:33:53 +1100
committerDave Chinner <david@fromorbit.com>2016-11-30 14:33:53 +1100
commitec1b826097f30858f9ed201cb78f1a762c50d0aa (patch)
tree100f4fdbcb37b8b57d96576e50497fc2a912368d /fs/direct-io.c
parent6552321831dce87ff5c466a55b58d472732caadc (diff)
downloadlinux-stable-ec1b826097f30858f9ed201cb78f1a762c50d0aa.tar.gz
linux-stable-ec1b826097f30858f9ed201cb78f1a762c50d0aa.tar.bz2
linux-stable-ec1b826097f30858f9ed201cb78f1a762c50d0aa.zip
fs: make sb_init_dio_done_wq available outside of direct-io.c
We want to use the per-sb completion workqueue from the new iomap direct I/O code. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Jens Axboe <axboe@fb.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/direct-io.c')
-rw-r--r--fs/direct-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/direct-io.c b/fs/direct-io.c
index fb9aa16a7727..19aa448fde6a 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -554,7 +554,7 @@ static inline int dio_bio_reap(struct dio *dio, struct dio_submit *sdio)
* filesystems that don't need it and also allows us to create the workqueue
* late enough so the we can include s_id in the name of the workqueue.
*/
-static int sb_init_dio_done_wq(struct super_block *sb)
+int sb_init_dio_done_wq(struct super_block *sb)
{
struct workqueue_struct *old;
struct workqueue_struct *wq = alloc_workqueue("dio/%s",