diff options
author | Christoph Hellwig <hch@lst.de> | 2016-11-30 14:33:53 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-30 14:33:53 +1100 |
commit | ec1b826097f30858f9ed201cb78f1a762c50d0aa (patch) | |
tree | 100f4fdbcb37b8b57d96576e50497fc2a912368d /fs/internal.h | |
parent | 6552321831dce87ff5c466a55b58d472732caadc (diff) | |
download | linux-ec1b826097f30858f9ed201cb78f1a762c50d0aa.tar.gz linux-ec1b826097f30858f9ed201cb78f1a762c50d0aa.tar.bz2 linux-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/internal.h')
-rw-r--r-- | fs/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index f4da3341b4a3..4fcf51766d4a 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -184,3 +184,6 @@ typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len, loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap_ops *ops, void *data, iomap_actor_t actor); + +/* direct-io.c: */ +int sb_init_dio_done_wq(struct super_block *sb); |