X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Finternal.h;h=49bfb3750b22988718564310c2fa177be691e2d2;hb=579f50cee1a1c12c0113dac02eb510cdb8c7f5f0;hp=77c50befbfbe96181a616d3ac63ee6a29565d847;hpb=4bae052dde14c5538eca39592777b1d1987234ba;p=linux-2.6-microblaze.git diff --git a/fs/internal.h b/fs/internal.h index 77c50befbfbe..49bfb3750b22 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -15,6 +15,7 @@ struct mount; struct shrink_control; struct fs_context; struct user_namespace; +struct pipe_inode_info; /* * block_dev.c @@ -132,6 +133,7 @@ extern struct file *do_file_open_root(struct dentry *, struct vfsmount *, const char *, const struct open_flags *); extern struct open_how build_open_how(int flags, umode_t mode); extern int build_open_flags(const struct open_how *how, struct open_flags *op); +extern int __close_fd_get_file(unsigned int fd, struct file **res); long do_sys_ftruncate(unsigned int fd, loff_t length, int small); int chmod_common(const struct path *path, umode_t mode); @@ -193,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);