diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-16 20:06:19 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-03-25 22:30:54 -0400 |
commit | bf6bf606e545cb31c29499b354c13b2621acd649 (patch) | |
tree | 237329d42ac5e126d273a31606f9258b04155348 /fs/orangefs/orangefs-bufmap.h | |
parent | 9f5e2f7f1b4bf7d0b19d88edd9425510fadbb9e4 (diff) | |
download | op-kernel-dev-bf6bf606e545cb31c29499b354c13b2621acd649.zip op-kernel-dev-bf6bf606e545cb31c29499b354c13b2621acd649.tar.gz |
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.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/orangefs/orangefs-bufmap.h b/fs/orangefs/orangefs-bufmap.h index 0be62be..babdc71 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); |