Commit 0b9c0174 authored by David Howells's avatar David Howells

afs: Rename desc -> req in afs_fetch_data()

Rename the desc parameter to req in afs_fetch_data() for consistency with
other functions.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent fc276122
...@@ -223,7 +223,7 @@ static void afs_file_readpage_read_complete(struct page *page, ...@@ -223,7 +223,7 @@ static void afs_file_readpage_read_complete(struct page *page,
/* /*
* Fetch file data from the volume. * Fetch file data from the volume.
*/ */
int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *desc) int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *req)
{ {
struct afs_fs_cursor fc; struct afs_fs_cursor fc;
struct afs_status_cb *scb; struct afs_status_cb *scb;
...@@ -246,7 +246,7 @@ int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *de ...@@ -246,7 +246,7 @@ int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *de
while (afs_select_fileserver(&fc)) { while (afs_select_fileserver(&fc)) {
fc.cb_break = afs_calc_vnode_cb_break(vnode); fc.cb_break = afs_calc_vnode_cb_break(vnode);
afs_fs_fetch_data(&fc, scb, desc); afs_fs_fetch_data(&fc, scb, req);
} }
afs_check_for_remote_deletion(&fc, vnode); afs_check_for_remote_deletion(&fc, vnode);
...@@ -257,7 +257,7 @@ int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *de ...@@ -257,7 +257,7 @@ int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *de
if (ret == 0) { if (ret == 0) {
afs_stat_v(vnode, n_fetches); afs_stat_v(vnode, n_fetches);
atomic_long_add(desc->actual_len, atomic_long_add(req->actual_len,
&afs_v2net(vnode)->n_fetch_bytes); &afs_v2net(vnode)->n_fetch_bytes);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment