X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Finternal.h;h=2ffa65a36ca01de1dfa779e48aa7866cb4fa45da;hb=02b5ca779d6d15b3af9ea79e1be6e9eb1636f286;hp=eaa75f75b625c572ec6e75650b3e6fb89d715a4a;hpb=1b79821fe7855c34030bc2f177660874e0a0ab62;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/internal.h b/fs/internal.h index eaa75f75b625..2ffa65a36ca0 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -74,9 +74,6 @@ extern void chroot_fs_refs(const struct path *, const struct path *); /* * file_table.c */ -extern void file_sb_list_add(struct file *f, struct super_block *sb); -extern void file_sb_list_del(struct file *f); -extern void mark_files_ro(struct super_block *); extern struct file *get_empty_filp(void); /* @@ -131,6 +128,12 @@ extern struct dentry *__d_alloc(struct super_block *, const struct qstr *); */ extern ssize_t __kernel_write(struct file *, const char *, size_t, loff_t *); +/* + * splice.c + */ +extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, + loff_t *opos, size_t len, unsigned int flags); + /* * pipe.c */