summaryrefslogtreecommitdiff
path: root/fs/internal.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-20 14:10:36 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-20 14:10:36 -0800
commit553637f73c314c742243b8dc5ef072e9dadbe581 (patch)
tree1c94c2f76775871b23a807f836c395751bede619 /fs/internal.h
parentc1ef5003079531b5aae12467a350379496752334 (diff)
parent9636e650e16f6b01f0044f7662074958c23e4707 (diff)
Merge tag 'for-6.3/dio-2023-02-16' of git://git.kernel.dk/linux
Pull legacy dio update from Jens Axboe: "We only have a few file systems that use the old dio code, make them select it rather than build it unconditionally" * tag 'for-6.3/dio-2023-02-16' of git://git.kernel.dk/linux: fs: build the legacy direct I/O code conditionally fs: move sb_init_dio_done_wq out of direct-io.c
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 766e8a554b2c..dc4eb91a577a 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:
*/