nfsd4_put_client(9)
π nfsd4_put_client(9) β aka the Kernel API Manual glow-up π
okay so bestie, welcome to nfsd4_put_client(9) β¨ this is the Kernel API Manual entry and honestly it's short and sweet and I'm obsessed with how much it does with so little.
β¨ NAME β¨
nfsd4_put_client β release a reference on an nfs4_client π«Ά
like, you're putting the client down. gently. because you're a responsible main character.
πΈ SYNOPSIS πΈ
void nfsd4_put_client (struct nfs4_client *clp );
that's it. that's the whole vibe check. no return value, no drama, void and done π
π¦ ARGUMENTS π¦
clpβ the client to be released π this is the one you're letting go of, bestie. hand it over and let the kernel handle the rest.
π DESCRIPTION π
okay so here's the tea β β when the last reference is released, the client is freed. no cap, that's the whole mechanic.
like it's giving refcount energy fr fr π₯ you drop your reference, and if you were the last one holding on? boom, the client gets freed. last one out, lights off, iconic behavior π
π SEE ALSO π
scream, there are SO many siblings π all of these live in the Kernel file ./fs/nfsd/nfs4state.c β go say hi:
nfs4_delegation_exists(9)hash_delegation_locked(9)revoke_delegation(9)nfs4_replay_free_cache(9)nfsd4_revoke_states(9)nfsd4_revoke_export_states(9)nfsd_slot_shrinker_count(9)nfsd_slot_shrinker_scan(9)nfsd_wait_for_delegreturn(9)nfsd_breaker_owns_lease(9)nfsd4_deleg_lm_open_conflict(9)nfsd4_process_open2(9)nfsd4_force_end_grace(9)nfs4_preprocess_stateid_op(9)nfs4_preprocess_seqid_op(9)nfsd4_release_lockowner(9)nfsd4_vet_deleg_time(9)nfsd4_deleg_getattr_conflict(9)nfsd_get_dir_deleg(9)nfsd_update_cmtime_attr(9)
ngl bestie, the refcount rule is the whole plot β only the last release frees the client. don't be out here thinking every nfsd4_put_client call is the finale π
β¨ ok that's the page!! sourced straight from ./fs/nfsd, dated October 2026, and brought to you with love and zero cap π
ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms