Skip to content

Commit 0b9c017

Browse files
committed
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: David Howells <[email protected]>
1 parent fc27612 commit 0b9c017

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/afs/file.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static void afs_file_readpage_read_complete(struct page *page,
223223
/*
224224
* Fetch file data from the volume.
225225
*/
226-
int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *desc)
226+
int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *req)
227227
{
228228
struct afs_fs_cursor fc;
229229
struct afs_status_cb *scb;
@@ -246,7 +246,7 @@ int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *de
246246

247247
while (afs_select_fileserver(&fc)) {
248248
fc.cb_break = afs_calc_vnode_cb_break(vnode);
249-
afs_fs_fetch_data(&fc, scb, desc);
249+
afs_fs_fetch_data(&fc, scb, req);
250250
}
251251

252252
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
257257

258258
if (ret == 0) {
259259
afs_stat_v(vnode, n_fetches);
260-
atomic_long_add(desc->actual_len,
260+
atomic_long_add(req->actual_len,
261261
&afs_v2net(vnode)->n_fetch_bytes);
262262
}
263263

0 commit comments

Comments
 (0)