fh_fill_both_attrs(9)
π fh_fill_both_attrs(9) β like, the Kernel API Manual edition β¨
okay bestie, buckle up, we're diving into the kernel API manual and honestly? this one's short but she serves. introducing fh_fill_both_attrs π
πΈ NAME πΈ
fh_fill_both_attrs β fills in the pre-op and the post-op attributes. both of them. a total overachiever, we love to see it π
β¨ SYNOPSIS β¨
__be32 fh_fill_both_attrs (struct svc_fh *fhp );
yes, she returns a __be32. yes, that's the whole signature. no cap, that's it π«Ά
π¦ ARGUMENTS π¦
fhpβ the file handle that's getting updated. she's the main character here, the one being filled in π
π DESCRIPTION π
so here's the vibe: this one gets called when the directory wasn't changed, but you still need wcc attributes anyway. like, nothing moved, nothing shifted, but the attributes are still required β so we fill both of them. iconic behavior, honestly β¨
fr fr, "wasn't changed" but "attributes needed anyway" β that's the whole situation. don't overthink it, just let her do her thing π§
π SEE ALSO π
- Kernel file
./fs/nfsd/nfsfh.cβ that's where the magic lives, go look π __fh_verify(9)fh_verify_local(9)fh_verify(9)fh_getattr(9)fh_fill_pre_attrs(9)fh_fill_post_attrs(9)nfsd4_change_attribute(9)
the whole friend group, honestly. go say hi to all of them π
and that's the page, bestie! this little love letter to fh_fill_both_attrs(9) came to you straight from ./fs/nfsd, dated October 2026 β shoutout to the source, mwah π slay, periodt, go fill those attributes π
π¦ 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