summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-bufmap.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-02-16 20:06:19 -0500
committerMike Marshall <hubcap@omnibond.com>2016-03-25 22:30:54 -0400
commitbf6bf606e545cb31c29499b354c13b2621acd649 (patch)
tree237329d42ac5e126d273a31606f9258b04155348 /fs/orangefs/orangefs-bufmap.h
parent9f5e2f7f1b4bf7d0b19d88edd9425510fadbb9e4 (diff)
downloadlinux-stable-bf6bf606e545cb31c29499b354c13b2621acd649.tar.gz
linux-stable-bf6bf606e545cb31c29499b354c13b2621acd649.tar.bz2
linux-stable-bf6bf606e545cb31c29499b354c13b2621acd649.zip
orangefs_copy_{to,from}_bufmap(): don't pass bufmap pointer
it's always __orangefs_bufmap Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-bufmap.h')
-rw-r--r--fs/orangefs/orangefs-bufmap.h6
1 files changed, 2 insertions, 4 deletions
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);