nfs_inode_fi..._attr_update(9)
π nfs_inode_fi..._attr_update(9) β from the Kernel API Manual, bestie π
okay so picture this: it's a kernel manual page, the name got abbreviated to nfs_inode_fi..._attr_update(9) because apparently even the title needed a vibe check, and it lives in the Kernel API Manual. yes bestie, they really truncated their own function name. iconic behavior honestly. let's get into it β¨
πΈ NAME πΈ
nfs_inode_finish_partial_attr_update β the little cleanup crew that completes a previous inode update. it's giving finishing-what-someone-else-started energy π
β¨ SYNOPSIS β¨
int nfs_inode_finish_partial_attr_update (const struct nfs_fattr *fattr
, const struct inode *inode );
she takes two const pointers and returns an int. no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
fattrβ the attributes, bestie. this is yourconst struct nfs_fattr *, and it's the thing that has to match up for the magic to happen πinodeβ a pointer to the inode.const struct inode *, literally just pointing at the inode in question πΈ
π DESCRIPTION π
okay so here's the tea β β this function returns '1' if the last attribute update left the inode's cached attributes sitting in a partially unrevalidated state, and fattr matches the change attribute of that partial update. both conditions, together, or it's a no π
otherwise? it returns '0'. that's it. that's the whole plot.
so basically it's a yes/no vibe check on whether you're looking at the leftover half-finished state from a previous update, and whether the attributes you're holding actually line up with it. 1 = yeah that's the partial update, 0 = nope, not it π
π₯ SEE ALSO π₯
Kernel file ./fs/nfs/inode.c, plus the whole friend group:
nfs_sync_mapping(9)nfs_vmtruncate(9)nfs_setattr_update_inode(9)nfs_close_context(9)nfs_revalidate_inode(9)nfs_clear_invalid_mapping(9)nfs_revalidate_mapping(9)nfs_check_inode_attributes(9)nfs_fattr_set_barrier(9)nfs_inode_attrs_cmp_generic(9)nfs_inode_attrs_cmp_monotonic(9)nfs_inode_attrs_cmp_strict_monotonic(9)nfs_inode_attrs_cmp(9)nfs_refresh_inode(9)nfs_post_op_update_inode(9)nfs_post_op_update_inode_force_wcc_locked(9)nfs_post_op_update_inode_force_wcc(9)
like, that is a squad right there. go read them too, iykyk π§
and that's the page!! π this little gem lives in ./fs/nfs, it's dated October 2026, and it was served up fresh from the Kernel API Manual β mwah, slay, periodt ππ hope your inodes stay fully validated bestie, ily, bye! πβ¨
π¦ 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