nfsd_nl_parse_fslocations(9)
π nfsd_nl_parse_fslocations(9) β Kernel API Manual
okay so bestie, welcome to page nfsd_nl_parse_fslocations from section 9 of the Kernel API Manual β¨ this is the little function that handles parsing fslocations from netlink, and honestly? it's giving humble-but-essential. no cap. π
β¨ NAME β¨
nfsd_nl_parse_fslocations β parse fslocations from netlink π¦
literally what it says on the tin, and we love a self-aware icon.
πΈ SYNOPSIS πΈ
int nfsd_nl_parse_fslocations (struct nlattr *attr , struct
nfsd4_fs_locations *fsloc );
that's the whole signature, copy it exactly, don't get cute with it π«Ά
π ARGUMENTS π
attrβ theNFSD_A_SVC_EXPORT_FSLOCATIONSnested attribute π that's the little netlink package it's digging through.fslocβ the fslocations struct to fill in π like, hand it an empty container and it does the rest.
π₯ DESCRIPTION π₯
so what does it actually do? Returns 0 on success or a negative errno π that's it, that's the contract.
no cap, that's the entire description. zero or negative errno, main character energy, periodt. if you're checking the return you're already winning π
π§ SEE ALSO π§
Kernel file ./fs/nfsd/export.c β yes, the whole file, go read it, iykyk πβ¨ and then the whole friend group:
nfsd_nl_expkey_get_reqs_dumpit(9)nfsd_nl_parse_one_expkey(9)nfsd_nl_expkey_set_reqs_doit(9)nfsd_nl_svc_export_get_reqs_dumpit(9)nfsd_nl_parse_one_export(9)nfsd_nl_svc_export_set_reqs_doit(9)check_xprtsec_policy(9)check_security_flavor(9)check_nfsd_access(9)rqst_exp_find(9)
the way that's a whole squad of (9) pages π go say hi to all of them π«Ά
π friendly reminder:0= slay, negativeerrno= not slay. don't @ me.
okay that's the page!! π this drop came from ./fs/nfsd, dated October 2026, and the page itself is nfsd_nl_parse_fslocations(9) β go forth and parse bestie, mwah ππβ
π¦ 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