init_dinode(9)
Hiii bestie π welcome to the init_dinode(9) page from the Kernel API Manual β it's giving "tiny kernel helper with main character energy," and we're keeping every detail, no cap. β¨
π NAME π
init_dinode β fill in a new dinode structure. Literally that's the job: fill in a new dinode structure. Slay. π
β¨ SYNOPSIS β¨
The whole call is:
void init_dinode (struct gfs2_inode *dip , struct gfs2_inode *ip , const char *symname );
π§ ARGUMENTS π§
dipβ the directory this inode is being created in. Think of it as the inode's home base.ipβ the inode. The main character, periodt.symnameβ the symlink destination (if a symlink). If it's not a symlink, this isn't the vibe.
π₯ SEE ALSO π₯
Kernel file: ./fs/gfs2/inode.c
The related-call friend group is:
gfs2_set_iop(9)gfs2_inode_lookup(9)gfs2_lookup_by_inum(9)gfs2_lookup_meta(9)gfs2_lookupi(9)create_ok(9)gfs2_init_xattr(9)gfs2_trans_da_blks(9)gfs2_create_inode(9)gfs2_create(9)__gfs2_lookup(9)gfs2_link(9)gfs2_unlink_inode(9)gfs2_unlink(9)gfs2_symlink(9)gfs2_mkdir(9)gfs2_mknod(9)gfs2_atomic_open(9)update_moved_ino(9)gfs2_rename(9)gfs2_exchange(9)gfs2_get_link(9)gfs2_permission(9)gfs2_setattr(9)gfs2_getattr(9)
byeee from ./fs/gfs2 β October 2026 β this was init_dinode(9) π«Άπ
π¦ 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