afs: Use call->_iter not &call->iter in debugging statements
Use call->_iter not &call->iter in debugging statements as the latter is a convenience iter whereas the former represents we're actually doing at the moment. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -323,7 +323,7 @@ static int afs_deliver_fs_fetch_data(struct afs_call *call)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
_enter("{%u,%zu/%llu}",
|
_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) {
|
switch (call->unmarshall) {
|
||||||
case 0:
|
case 0:
|
||||||
@@ -370,7 +370,7 @@ static int afs_deliver_fs_fetch_data(struct afs_call *call)
|
|||||||
/* extract the returned data */
|
/* extract the returned data */
|
||||||
case 2:
|
case 2:
|
||||||
_debug("extract data %zu/%llu",
|
_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);
|
ret = afs_extract_data(call, true);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
@@ -398,7 +398,7 @@ static int afs_deliver_fs_fetch_data(struct afs_call *call)
|
|||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
_debug("extract discard %zu/%llu",
|
_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);
|
ret = afs_extract_data(call, true);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
@@ -1852,7 +1852,7 @@ static int afs_deliver_fs_get_capabilities(struct afs_call *call)
|
|||||||
u32 count;
|
u32 count;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
_enter("{%u,%zu}", call->unmarshall, iov_iter_count(&call->iter));
|
_enter("{%u,%zu}", call->unmarshall, iov_iter_count(call->_iter));
|
||||||
|
|
||||||
switch (call->unmarshall) {
|
switch (call->unmarshall) {
|
||||||
case 0:
|
case 0:
|
||||||
|
@@ -441,7 +441,7 @@ static int yfs_deliver_fs_fetch_data64(struct afs_call *call)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
_enter("{%u,%zu/%llu}",
|
_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) {
|
switch (call->unmarshall) {
|
||||||
case 0:
|
case 0:
|
||||||
@@ -483,7 +483,7 @@ static int yfs_deliver_fs_fetch_data64(struct afs_call *call)
|
|||||||
/* extract the returned data */
|
/* extract the returned data */
|
||||||
case 2:
|
case 2:
|
||||||
_debug("extract data %zu/%llu",
|
_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);
|
ret = afs_extract_data(call, true);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
@@ -511,7 +511,7 @@ static int yfs_deliver_fs_fetch_data64(struct afs_call *call)
|
|||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
_debug("extract discard %zu/%llu",
|
_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);
|
ret = afs_extract_data(call, true);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Reference in New Issue
Block a user