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/cmservice.c | |
parent | 1b87b025b4cdae7851cbb0f1111543ffc49a0d48 (diff) | |
download | linux-fc276122496df13341c1429fbd430d02462815c8.tar.gz linux-fc276122496df13341c1429fbd430d02462815c8.tar.bz2 linux-fc276122496df13341c1429fbd430d02462815c8.zip |
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/cmservice.c')
-rw-r--r-- | fs/afs/cmservice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index b86195e4dc6c..ff3994a6be23 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c @@ -342,14 +342,14 @@ static int afs_deliver_cb_callback(struct afs_call *call) if (call->count2 != call->count && call->count2 != 0) return afs_protocol_error(call, -EBADMSG, afs_eproto_cb_count); - call->_iter = &call->iter; - iov_iter_discard(&call->iter, READ, call->count2 * 3 * 4); + call->iter = &call->def_iter; + iov_iter_discard(&call->def_iter, READ, call->count2 * 3 * 4); call->unmarshall++; /* Fall through */ case 4: _debug("extract discard %zu/%u", - iov_iter_count(&call->iter), call->count2 * 3 * 4); + iov_iter_count(call->iter), call->count2 * 3 * 4); ret = afs_extract_data(call, false); if (ret < 0) |