nfsd_nl_fh_key_set(9)
πΈ nfsd_nl_fh_key_set(9) πΈ
hiii bestie! this page is from the Kernel API Manual, and the main character is literally nfsd_nl_fh_key_set(9) π«Ά. it's a tiny helper with big βread the rules firstβ energy, so let's go π
.
π NAME π
nfsd_nl_fh_key_set β helper to copy fh_key from userspace β¨
π¦ SYNOPSIS π¦
int nfsd_nl_fh_key_set (const struct nlattr *attr , struct nfsd_net *nn
);
π ARGUMENTS π
attrβ thenlattrNFSD_A_SERVER_FH_KEYπnnβ thenfsd_netπ¦
π₯ DESCRIPTION π₯
okay so the rules, fr fr: callers should hold nfsd_mutex π. it returns 0 on success or a negative errno π.
callers must ensure the server is shut down (sv_nrthreads == 0) β userspace documentation asserts the key may only be set when the server is not running. periodt. no sneaky running-server key-setting, bestie π«π
π SEE ALSO π
Kernel file ./fs/nfsd/nfsctl.c is right here, and these besties are linked too:
nfsd_nl_rpc_status_get_dumpit(9)nfsd_nl_threads_set_doit(9)nfsd_nl_threads_get_doit(9)nfsd_nl_version_set_doit(9)nfsd_nl_version_get_doit(9)nfsd_nl_validate_listeners(9)nfsd_nl_listener_set_doit(9)nfsd_nl_listener_get_doit(9)nfsd_nl_pool_mode_set_doit(9)nfsd_nl_pool_mode_get_doit(9)nfsd_nl_cache_flush_doit(9)nfsd_nl_server_stats_get_dumpit(9)nfsd_nl_unlock_ip_doit(9)nfsd_nl_unlock_filesystem_doit(9)nfsd_nl_unlock_export_doit(9)nfsd_net_init(9)nfsd_net_pre_exit(9)nfsd_net_exit(9)
xoxo, bestie π β source ./fs/nfsd, October 2026, page nfsd_nl_fh_key_set(9). slay and goodbye! πβ¨
π¦ 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