aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 3493d2828f7d..2e29a2edaeec 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1641,6 +1641,9 @@ static inline void allow_write_access(struct file *file)
1641 atomic_inc(&file->f_dentry->d_inode->i_writecount); 1641 atomic_inc(&file->f_dentry->d_inode->i_writecount);
1642} 1642}
1643extern int do_pipe(int *); 1643extern int do_pipe(int *);
1644extern struct file *create_read_pipe(struct file *f);
1645extern struct file *create_write_pipe(void);
1646extern void free_write_pipe(struct file *);
1644 1647
1645extern int open_namei(int dfd, const char *, int, int, struct nameidata *); 1648extern int open_namei(int dfd, const char *, int, int, struct nameidata *);
1646extern int may_open(struct nameidata *, int, int); 1649extern int may_open(struct nameidata *, int, int);