diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-21 07:33:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-29 13:24:19 -0400 |
commit | e4fad8e5d220e3dfb1050eee752ee5058f29a232 (patch) | |
tree | b56356fda1d1f4f47e1da63aa24080db999dafc1 /include | |
parent | b5bcdda32736b94a7d178d156d80a69f536ad468 (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.h | 3 | ||||
-rw-r--r-- | include/linux/pipe_fs_i.h | 2 |
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 |
2328 | extern int do_pipe_flags(int *, int); | 2328 | extern int do_pipe_flags(int *, int); |
2329 | extern struct file *create_read_pipe(struct file *f, int flags); | ||
2330 | extern struct file *create_write_pipe(int flags); | ||
2331 | extern void free_write_pipe(struct file *); | ||
2332 | 2329 | ||
2333 | extern int kernel_read(struct file *, loff_t, char *, unsigned long); | 2330 | extern int kernel_read(struct file *, loff_t, char *, unsigned long); |
2334 | extern struct file * open_exec(const char *); | 2331 | extern 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 *); | |||
162 | long pipe_fcntl(struct file *, unsigned int, unsigned long arg); | 162 | long pipe_fcntl(struct file *, unsigned int, unsigned long arg); |
163 | struct pipe_inode_info *get_pipe_info(struct file *file); | 163 | struct pipe_inode_info *get_pipe_info(struct file *file); |
164 | 164 | ||
165 | int create_pipe_files(struct file **, int); | ||
166 | |||
165 | #endif | 167 | #endif |