summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/pvfs2-bufmap.h
diff options
context:
space:
mode:
authorAl Viro2015-10-08 23:43:58 +0200
committerMike Marshall2015-11-13 16:25:01 +0100
commit5c278228bbfe3abb7d468ef39dffac23de15c078 (patch)
tree5bd9b8107ed919e9b4298f2d1632d4ef33e3481e /fs/orangefs/pvfs2-bufmap.h
parentOrangefs: fix some checkpatch.pl complaints that had creeped in. (diff)
downloadkernel-qcow2-linux-5c278228bbfe3abb7d468ef39dffac23de15c078.tar.gz
kernel-qcow2-linux-5c278228bbfe3abb7d468ef39dffac23de15c078.tar.xz
kernel-qcow2-linux-5c278228bbfe3abb7d468ef39dffac23de15c078.zip
orangefs: explicitly pass the size to pvfs_bufmap_copy_to_iovec()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/pvfs2-bufmap.h')
-rw-r--r--fs/orangefs/pvfs2-bufmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/orangefs/pvfs2-bufmap.h b/fs/orangefs/pvfs2-bufmap.h
index a0f84c045d73..d1aedb52a877 100644
--- a/fs/orangefs/pvfs2-bufmap.h
+++ b/fs/orangefs/pvfs2-bufmap.h
@@ -49,7 +49,8 @@ int pvfs_bufmap_copy_from_iovec(struct pvfs2_bufmap *bufmap,
int pvfs_bufmap_copy_to_iovec(struct pvfs2_bufmap *bufmap,
struct iov_iter *iter,
- int buffer_index);
+ int buffer_index,
+ size_t size);
size_t pvfs_bufmap_copy_to_user_task_iovec(struct task_struct *tsk,
struct iovec *iovec,