aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-07-21 07:33:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-29 13:24:19 -0400
commite4fad8e5d220e3dfb1050eee752ee5058f29a232 (patch)
treeb56356fda1d1f4f47e1da63aa24080db999dafc1 /include
parentb5bcdda32736b94a7d178d156d80a69f536ad468 (diff)
consolidate pipe file creation
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h3
-rw-r--r--include/linux/pipe_fs_i.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 8fabb037a48d..478237844648 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2326,9 +2326,6 @@ static inline void i_readcount_inc(struct inode *inode)
2326} 2326}
2327#endif 2327#endif
2328extern int do_pipe_flags(int *, int); 2328extern int do_pipe_flags(int *, int);
2329extern struct file *create_read_pipe(struct file *f, int flags);
2330extern struct file *create_write_pipe(int flags);
2331extern void free_write_pipe(struct file *);
2332 2329
2333extern int kernel_read(struct file *, loff_t, char *, unsigned long); 2330extern int kernel_read(struct file *, loff_t, char *, unsigned long);
2334extern struct file * open_exec(const char *); 2331extern struct file * open_exec(const char *);
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h
index e1ac1ce16fb0..e16dcb31f0c7 100644
--- a/include/linux/pipe_fs_i.h
+++ b/include/linux/pipe_fs_i.h
@@ -162,4 +162,6 @@ void generic_pipe_buf_release(struct pipe_inode_info *, struct pipe_buffer *);
162long pipe_fcntl(struct file *, unsigned int, unsigned long arg); 162long pipe_fcntl(struct file *, unsigned int, unsigned long arg);
163struct pipe_inode_info *get_pipe_info(struct file *file); 163struct pipe_inode_info *get_pipe_info(struct file *file);
164 164
165int create_pipe_files(struct file **, int);
166
165#endif 167#endif