diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-23 14:51:48 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 02:46:11 -0500 |
commit | 7bb307e894d51308aa0582a8c4cc5875bbc645b9 (patch) | |
tree | 8b8434fe4674fb47236c0d7ca2256e7afc29f208 /include | |
parent | 94e07a7590ae855bae0536c42b3086fadc7c83a8 (diff) | |
download | lwn-7bb307e894d51308aa0582a8c4cc5875bbc645b9.tar.gz lwn-7bb307e894d51308aa0582a8c4cc5875bbc645b9.zip |
export kernel_write(), convert open-coded instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c766afd1e684..d858363a7c17 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2277,6 +2277,7 @@ static inline void i_readcount_inc(struct inode *inode) extern int do_pipe_flags(int *, int); extern int kernel_read(struct file *, loff_t, char *, unsigned long); +extern ssize_t kernel_write(struct file *, const char *, size_t, loff_t); extern struct file * open_exec(const char *); /* fs/dcache.c -- generic fs support functions */ |