v9fs_vfs_setattr(9)
π NAME β v9fs_vfs_setattr β¨
okay so bestie, this is v9fs_vfs_setattr(9) from the Kernel API Manual, and it's literally the function that sets file metadata. that's the whole vibe. metadata assignment, but make it kernel. π
πΈ SYNOPSIS πΈ
int v9fs_vfs_setattr (struct mnt_idmap *idmap , struct dentry *dentry ,
struct iattr *iattr );
π¦ ARGUMENTS π¦
idmapβ the idmap of the mount, icon behavior only, she's just here to tell you which mount's idmap we're working with πdentryβ the file whose metadata you're setting, main character energy fr fr β¨iattrβ the metadata assignment structure, like the little envelope carrying the new metadata vibes π
π SEE ALSO π
Kernel file ./fs/9p/vfs_inode.c β and bestie, the whole friend group is here:
unixmode2p9mode(9)p9mode2perm(9)p9mode2unixmode(9)v9fs_uflags2omode(9)v9fs_blank_wstat(9)v9fs_alloc_inode(9)v9fs_free_inode(9)v9fs_evict_inode(9)v9fs_at_to_dotl_flags(9)v9fs_dec_count(9)v9fs_remove(9)v9fs_create(9)v9fs_vfs_create(9)v9fs_vfs_mkdir(9)v9fs_vfs_lookup(9)v9fs_vfs_unlink(9)v9fs_vfs_rmdir(9)v9fs_vfs_rename(9)v9fs_vfs_getattr(9)v9fs_stat2inode(9)v9fs_vfs_get_link(9)v9fs_vfs_mkspecial(9)v9fs_vfs_symlink(9)v9fs_vfs_link(9)v9fs_vfs_mknod(9)
that's the whole page, bestie π
β¨ source/version is ./fs/9p, dated October 2026 β periodt, go set some metadata responsibly π«Άπ
π¦ 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