diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-03 12:05:17 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 17:39:37 -0400 |
commit | 3dae8750c368f8ac11c3c8c2a28f56dcee865c01 (patch) | |
tree | 49ff95ab7bd8391325a1651b2c30bb0098f6ff2c /fs/cifs/cifsfs.h | |
parent | d4637bc18f3bf89bd63fe7b967043523aa3a6170 (diff) | |
download | linux-stable-3dae8750c368f8ac11c3c8c2a28f56dcee865c01.tar.gz linux-stable-3dae8750c368f8ac11c3c8c2a28f56dcee865c01.tar.bz2 linux-stable-3dae8750c368f8ac11c3c8c2a28f56dcee865c01.zip |
cifs: switch to ->write_iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.h')
-rw-r--r-- | fs/cifs/cifsfs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h index d1ef0415c645..c9e91886f0cf 100644 --- a/fs/cifs/cifsfs.h +++ b/fs/cifs/cifsfs.h @@ -87,10 +87,8 @@ extern int cifs_close(struct inode *inode, struct file *file); extern int cifs_closedir(struct inode *inode, struct file *file); extern ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to); extern ssize_t cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to); -extern ssize_t cifs_user_writev(struct kiocb *iocb, const struct iovec *iov, - unsigned long nr_segs, loff_t pos); -extern ssize_t cifs_strict_writev(struct kiocb *iocb, const struct iovec *iov, - unsigned long nr_segs, loff_t pos); +extern ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from); +extern ssize_t cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from); extern int cifs_lock(struct file *, int, struct file_lock *); extern int cifs_fsync(struct file *, loff_t, loff_t, int); extern int cifs_strict_fsync(struct file *, loff_t, loff_t, int); |