nfs_close_context(9)
π nfs_close_context(9) β Kernel API Manual β¨
okay bestie, welcome to the nfs_close_context glow-up page β this is the Kernel API Manual entry, and we're gonna make it make sense π«Ά
πΈ NAME πΈ
nfs_close_context β the common close_context() routine for NFSv2/v3, fr fr π
β¨ SYNOPSIS β¨
void nfs_close_context (struct nfs_open_context *ctx , int is_sync );
like, that's the whole vibe check right there π
π ARGUMENTS π
ctxβ a pointer to the context π« like yeah it's just a pointer, but it's the pointer, yk?is_syncβ is this a synchronous close? that's literally the question it's asking π yes or no bestie
π¦ DESCRIPTION π¦
okay so here's the tea β β this routine makes sure the attributes are up to date if we're mounted with close-to-open semantics, and we've got cached data that's gonna need revalidating on open. both conditions, no shortcuts, no cap π
think of it as the "double-check the receipts before you walk out the door" energy π₯
π SEE ALSO π
the whole friend group, in order, no one left out π
- Kernel file
./fs/nfs/inode.c nfs_sync_mapping(9)nfs_vmtruncate(9)nfs_setattr_update_inode(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_inode_finish_partial_attr_update(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)
ngl bestie, that's a lot of cross-references β but you're gonna slay your way through every single one ππ
mwah, that's the page! π§ source is ./fs/nfs and it's dated October 2026 β stay iconic, drink water, and don't forget your (9) section pages, periodt π
π¦ 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