summaryrefslogtreecommitdiff
path: root/fs/afs/fs_operation.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-11-08 16:01:11 +0300
committerDavid Howells <dhowells@redhat.com>2024-01-01 19:37:27 +0300
commit445f9b6952869586990ec3140dcd87c86d795d2e (patch)
treeae2a5365ed9a1b9d0831c0a81fa4bd877a003b97 /fs/afs/fs_operation.c
parentca0e79a46097d54e4af46c67c852479d97af35bb (diff)
downloadlinux-445f9b6952869586990ec3140dcd87c86d795d2e.tar.xz
afs: Defer volume record destruction to a workqueue
Defer volume record destruction to a workqueue so that afs_put_volume() isn't going to run the destruction process in the callback workqueue whilst the server is holding up other clients whilst waiting for us to reply to a CB.CallBack notification RPC. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'fs/afs/fs_operation.c')
-rw-r--r--fs/afs/fs_operation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/fs_operation.c b/fs/afs/fs_operation.c
index 8c6d827f999d..10137681aa7d 100644
--- a/fs/afs/fs_operation.c
+++ b/fs/afs/fs_operation.c
@@ -265,7 +265,7 @@ int afs_put_operation(struct afs_operation *op)
}
afs_put_serverlist(op->net, op->server_list);
- afs_put_volume(op->net, op->volume, afs_volume_trace_put_put_op);
+ afs_put_volume(op->volume, afs_volume_trace_put_put_op);
key_put(op->key);
kfree(op);
return ret;