gfs2_dir_mvino(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 inode
  • filename β€” the filename to be moved
  • nip β€” the new GFS2 inode
  • new_type β€” the de_type of 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:

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