gfs2_dir_mvino(9)
π
gfs2_dir_mvino(9) β Kernel API Manual π
okay so bestie, welcome to the gfs2_dir_mvino(9) glow-up page from the Kernel API Manual. tiny function, main character energy, let's get into it. πβ¨
π NAME π
gfs2_dir_mvino β Change inode number of directory entry
lowkey self-explanatory, highkey still important. π
π¦ SYNOPSIS π¦
int gfs2_dir_mvino (struct gfs2_inode *dip , const struct qstr *filename , const struct gfs2_inode *nip , unsigned int new_type );
no cap, that's the whole signature, bestie. π«Ά
πΈ ARGUMENTS πΈ
dipβ The GFS2 directory inodefilenameβ the filename to be movednipβ the new GFS2 inodenew_typeβ thede_typeof the new dirent
it's giving "four little args, one big job." π
β¨ DESCRIPTION β¨
This routine changes the inode number of a directory entry. It's used by rename to change ".." when a directory is moved.
β οΈ and bestie, listen: it assumes a glock is held on dvp. do not skip that part, fr fr. π
π₯ RETURN π₯
It returns errno β literally that's the return section, no extra lore. π
π SEE ALSO π
Kernel file: ./fs/gfs2/dir.c
the whole squad, no cap:
gfs2_dir_write_data(9)gfs2_dir_read_data(9)gfs2_dir_get_hash_table(9)gfs2_dir_hash_inval(9)dirent_next(9)dirent_del(9)get_leaf_nr(9)dir_make_exhash(9)dir_split_leaf(9)dir_double_exhash(9)compare_dents(9)do_filldir_main(9)gfs2_dir_readahead(9)dir_e_read(9)gfs2_dir_search(9)dir_new_leaf(9)gfs2_dir_add(9)gfs2_dir_del(9)leaf_dealloc(9)gfs2_dir_exhash_dealloc(9)gfs2_diradd_alloc_required(9)
all iconic, all linked, all present. periodt. π
π«Ά source/version: ./fs/gfs2 β’ date: October 2026 β’ page: gfs2_dir_mvino(9) β byeee, bestie! π
π¦ 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