diff options
author | Mike Marshall <hubcap@omnibond.com> | 2015-10-05 13:44:24 -0400 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2015-10-05 13:44:24 -0400 |
commit | 548049495cb46348866aec1cb7721e9d00b4eb83 (patch) | |
tree | 6639252c4bf27d47dc3e10e3390b1c7bff4bd784 /fs/orangefs/pvfs2-bufmap.c | |
parent | 894ac432b48bb64fabae31fd2f373b2b8659350f (diff) | |
download | lwn-548049495cb46348866aec1cb7721e9d00b4eb83.tar.gz lwn-548049495cb46348866aec1cb7721e9d00b4eb83.zip |
Orangefs: fix some checkpatch.pl complaints that had creeped in.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/pvfs2-bufmap.c')
-rw-r--r-- | fs/orangefs/pvfs2-bufmap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/orangefs/pvfs2-bufmap.c b/fs/orangefs/pvfs2-bufmap.c index e01e220fd5d7..9d0392a3e824 100644 --- a/fs/orangefs/pvfs2-bufmap.c +++ b/fs/orangefs/pvfs2-bufmap.c @@ -508,9 +508,9 @@ void readdir_index_put(struct pvfs2_bufmap *bufmap, int buffer_index) } int pvfs_bufmap_copy_from_iovec(struct pvfs2_bufmap *bufmap, - struct iov_iter *iter, - int buffer_index, - size_t size) + struct iov_iter *iter, + int buffer_index, + size_t size) { struct pvfs_bufmap_desc *to; struct page *page; @@ -553,7 +553,7 @@ int pvfs_bufmap_copy_to_iovec(struct pvfs2_bufmap *bufmap, "%s: buffer_index:%d: iov_iter_count(iter):%lu:\n", __func__, buffer_index, iov_iter_count(iter)); - from = &bufmap->desc_array[buffer_index]; + from = &bufmap->desc_array[buffer_index]; for (i = 0; iov_iter_count(iter); i++) { page = from->page_array[i]; @@ -562,5 +562,5 @@ int pvfs_bufmap_copy_to_iovec(struct pvfs2_bufmap *bufmap, break; } - return iov_iter_count(iter) ? -EFAULT : 0; + return iov_iter_count(iter) ? -EFAULT : 0; } |