diff options
author | David Howells <dhowells@redhat.com> | 2019-11-21 09:12:17 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-11-21 09:12:17 +0000 |
commit | fc276122496df13341c1429fbd430d02462815c8 (patch) | |
tree | f89bf9a4b6a558e2cf509124bccf762aba91c2f1 /fs/afs/yfsclient.c | |
parent | 1b87b025b4cdae7851cbb0f1111543ffc49a0d48 (diff) | |
download | linux-fc276122496df13341c1429fbd430d02462815c8.tar.bz2 |
afs: Switch the naming of call->iter and call->_iter
Change the name of call->iter to call->def_iter to represent the default
iterator.
Change the name of call->_iter to call->iter to represent the iterator
actually being used.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/yfsclient.c')
-rw-r--r-- | fs/afs/yfsclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c index 79809739358f..8a8de5d0ab16 100644 --- a/fs/afs/yfsclient.c +++ b/fs/afs/yfsclient.c @@ -441,7 +441,7 @@ static int yfs_deliver_fs_fetch_data64(struct afs_call *call) int ret; _enter("{%u,%zu/%llu}", - call->unmarshall, iov_iter_count(call->_iter), req->actual_len); + call->unmarshall, iov_iter_count(call->iter), req->actual_len); switch (call->unmarshall) { case 0: @@ -476,14 +476,14 @@ static int yfs_deliver_fs_fetch_data64(struct afs_call *call) call->bvec[0].bv_len = size; call->bvec[0].bv_offset = req->offset; call->bvec[0].bv_page = req->pages[req->index]; - iov_iter_bvec(&call->iter, READ, call->bvec, 1, size); + iov_iter_bvec(&call->def_iter, READ, call->bvec, 1, size); ASSERTCMP(size, <=, PAGE_SIZE); /* Fall through */ /* extract the returned data */ case 2: _debug("extract data %zu/%llu", - iov_iter_count(call->_iter), req->remain); + iov_iter_count(call->iter), req->remain); ret = afs_extract_data(call, true); if (ret < 0) @@ -511,7 +511,7 @@ static int yfs_deliver_fs_fetch_data64(struct afs_call *call) case 3: _debug("extract discard %zu/%llu", - iov_iter_count(call->_iter), req->actual_len - req->len); + iov_iter_count(call->iter), req->actual_len - req->len); ret = afs_extract_data(call, true); if (ret < 0) |