From bf6bf606e545cb31c29499b354c13b2621acd649 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 16 Feb 2016 20:06:19 -0500 Subject: orangefs_copy_{to,from}_bufmap(): don't pass bufmap pointer it's always __orangefs_bufmap Signed-off-by: Al Viro Signed-off-by: Mike Marshall --- fs/orangefs/orangefs-bufmap.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fs/orangefs/orangefs-bufmap.h') diff --git a/fs/orangefs/orangefs-bufmap.h b/fs/orangefs/orangefs-bufmap.h index 0be62be373f7..babdc713c5e0 100644 --- a/fs/orangefs/orangefs-bufmap.h +++ b/fs/orangefs/orangefs-bufmap.h @@ -27,13 +27,11 @@ int orangefs_readdir_index_get(struct orangefs_bufmap **mapp, int *buffer_index) void orangefs_readdir_index_put(int buffer_index); -int orangefs_bufmap_copy_from_iovec(struct orangefs_bufmap *bufmap, - struct iov_iter *iter, +int orangefs_bufmap_copy_from_iovec(struct iov_iter *iter, int buffer_index, size_t size); -int orangefs_bufmap_copy_to_iovec(struct orangefs_bufmap *bufmap, - struct iov_iter *iter, +int orangefs_bufmap_copy_to_iovec(struct iov_iter *iter, int buffer_index, size_t size); -- cgit v1.2.3