summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-10-08 23:43:58 +0200
committerMike Marshall <hubcap@omnibond.com>2015-11-13 16:25:01 +0100
commit5c278228bbfe3abb7d468ef39dffac23de15c078 (patch)
tree5bd9b8107ed919e9b4298f2d1632d4ef33e3481e /fs/orangefs/file.c
parentOrangefs: fix some checkpatch.pl complaints that had creeped in. (diff)
downloadlinux-5c278228bbfe3abb7d468ef39dffac23de15c078.tar.xz
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/file.c')
-rw-r--r--fs/orangefs/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index feb1764c2f80..92a0974f0743 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -89,7 +89,8 @@ static int postcopy_buffers(struct pvfs2_bufmap *bufmap,
iov_iter_init(&iter, READ, vec, nr_segs, total_size);
ret = pvfs_bufmap_copy_to_iovec(bufmap,
&iter,
- buffer_index);
+ buffer_index,
+ total_size);
if (ret < 0)
gossip_err("%s: Failed to copy-out buffers. Please make sure that the pvfs2-client is running (%ld)\n",
__func__,