Merge tag 'for-5.12/io_uring-2021-02-17' of git://git.kernel.dk/linux-block
[linux-2.6-block.git] / fs / internal.h
index c6c85f6ad598ac8d4b0a157b91e3887cef015f6d..49bfb3750b22988718564310c2fa177be691e2d2 100644 (file)
@@ -15,6 +15,7 @@ struct mount;
 struct shrink_control;
 struct fs_context;
 struct user_namespace;
+struct pipe_inode_info;
 
 /*
  * block_dev.c
@@ -194,3 +195,11 @@ int sb_init_dio_done_wq(struct super_block *sb);
  */
 int do_statx(int dfd, const char __user *filename, unsigned flags,
             unsigned int mask, struct statx __user *buffer);
+
+/*
+ * fs/splice.c:
+ */
+long splice_file_to_pipe(struct file *in,
+                        struct pipe_inode_info *opipe,
+                        loff_t *offset,
+                        size_t len, unsigned int flags);