diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-03 15:06:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:29:37 -0400 |
commit | 493c84c0722ac991a96df2fd6c7798b2126b626c (patch) | |
tree | 5c7166cf90d8e9afa5be2f48b174a9da6fd14d03 /include/linux/fs.h | |
parent | c48722c6364ec94738afa42e48b1e1f8f20e3192 (diff) | |
download | lwn-493c84c0722ac991a96df2fd6c7798b2126b626c.tar.gz lwn-493c84c0722ac991a96df2fd6c7798b2126b626c.zip |
new helper: __vfs_write()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-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 20fe15fe236d..4a1cb00bd805 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1639,6 +1639,7 @@ ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector, struct iovec **ret_pointer); extern ssize_t __vfs_read(struct file *, char __user *, size_t, loff_t *); +extern ssize_t __vfs_write(struct file *, const char __user *, size_t, loff_t *); extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *); extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *); extern ssize_t vfs_readv(struct file *, const struct iovec __user *, |