diff options
author | David Howells <dhowells@redhat.com> | 2019-05-09 22:22:50 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-16 16:25:21 +0100 |
commit | ffba718e935402e7f42b8cd5d1e00e4a3907d361 (patch) | |
tree | a77dadcb55b3cc56cbb1f8a583448944214ba163 /fs/afs/flock.c | |
parent | fefb2483dc10c736e4235984fed4f3a61c99e1c2 (diff) |
afs: Get rid of afs_call::reply[]
Replace the afs_call::reply[] array with a bunch of typed members so that
the compiler can use type-checking on them. It's also easier for the eye
to see what's going on.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/flock.c')
-rw-r--r-- | fs/afs/flock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/flock.c b/fs/afs/flock.c index c91cd201013f..ce8275940b99 100644 --- a/fs/afs/flock.c +++ b/fs/afs/flock.c @@ -74,7 +74,7 @@ static void afs_schedule_lock_extension(struct afs_vnode *vnode) */ void afs_lock_op_done(struct afs_call *call) { - struct afs_vnode *vnode = call->reply[0]; + struct afs_vnode *vnode = call->xvnode; if (call->error == 0) { spin_lock(&vnode->lock); |