author: David Howells <dhowells@redhat.com> 2017-11-02 15:27:46 +0000
committer: David Howells <dhowells@redhat.com> 2017-11-13 15:38:17 +0000
commit: 9ed900b1160ef306bc74ad0228d7ab199234c758
parent: 49566f6f06b38d7c1a5c7eacc8a38c6ea2e36549
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c
index 30ce4be4165f..9ad39f8a7e87 100644
--- a/fs/afs/cmservice.c
+++ b/fs/afs/cmservice.c
@@ -151,7 +151,7 @@ static void afs_cm_destructor(struct afs_call *call)
afs_break_callbacks(call->server, call->count, call->request);
}
- afs_put_server(call->server);
+ afs_put_server(call->net, call->server);
call->server = NULL;
kfree(call->buffer);
call->buffer = NULL;