aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-01-25 07:58:38 +0100
committerJens Axboe <axboe@kernel.dk>2023-01-26 10:30:56 -0700
commit439bc39b3cf0014b1b75075812f7ef0f8baa9674 (patch)
tree4bd20b14a92e4d1c88b7f666e4f50ef4056a64d7 /fs/internal.h
parentLinux 6.2-rc5 (diff)
downloadwireguard-linux-439bc39b3cf0014b1b75075812f7ef0f8baa9674.tar.xz
wireguard-linux-439bc39b3cf0014b1b75075812f7ef0f8baa9674.zip
fs: move sb_init_dio_done_wq out of direct-io.c
sb_init_dio_done_wq is also used by the iomap code, so move it to super.c in preparation for building direct-io.c conditionally. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230125065839.191256-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/internal.h b/fs/internal.h
index a803cc3cf716..cb0c0749661a 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -120,6 +120,7 @@ extern bool trylock_super(struct super_block *sb);
struct super_block *user_get_super(dev_t, bool excl);
void put_super(struct super_block *sb);
extern bool mount_capable(struct fs_context *);
+int sb_init_dio_done_wq(struct super_block *sb);
/*
* open.c
@@ -187,9 +188,6 @@ extern void mnt_pin_kill(struct mount *m);
*/
extern const struct dentry_operations ns_dentry_operations;
-/* direct-io.c: */
-int sb_init_dio_done_wq(struct super_block *sb);
-
/*
* fs/stat.c:
*/