]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFSv4.1: pass transport for callback shutdown
authorOlga Kornievskaia <okorniev@redhat.com>
Tue, 4 Nov 2025 22:29:24 +0000 (17:29 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 23 Nov 2025 20:30:12 +0000 (15:30 -0500)
commit8936ff47367e7ef659db6cfd70fb3dd060cc702a
tree9cca3e8e2b1c764855c293aa521e5dbba4d56938
parent2e47c3cc64b44b0b06cd68c2801db92ff143f2b2
NFSv4.1: pass transport for callback shutdown

When we are setting up the 4.1 callback server, we pass in
the appropriate rpc_xprt transport pointer with which to associate
the callback server structure. Similarly, pass in the rpc_xprt
pointer for when we are shutting down the callback. This will be
used to make sure that we free the server structure and then clear
the rpc_xprt's bc_server pointer in a safe manner.

Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/callback.c
fs/nfs/callback.h
fs/nfs/nfs4client.c