[PATCH] nfsd: drain backchannel callbacks before freeing a session

From: Chris Mason

Date: Tue May 19 2026 - 14:02:07 EST


DESTROY_SESSION can free an nfsd4_session while a backchannel callback
for the same client is still live on rpciod, leaving clp->cl_cb_session
as a dangling pointer.

The first patch waits on cl_cb_inflight, and the second hopes to make
things harder to regress in the future by dropping a NULL in there.

Signed-off-by: Chris Mason <clm@xxxxxxxx>