update_moved_ino(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_moved_ino(9) πŸ’…

okay so this is a page from the Kernel API Manual, and bestie, it's a short one β€” we're literally just updating an inode that's getting moved. no cap, that's the whole vibe. πŸ¦‹


✨ NAME ✨

update_moved_ino β€” update an inode that's being moved πŸ”₯


🌸 SYNOPSIS 🌸

int update_moved_ino (struct gfs2_inode *ip , struct gfs2_inode *ndip ,
int dir_rename );

that's it. three args, one int back. iconic honestly. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • ip β€” the inode that's being moved. yeah. that one. the main character. 🫢
  • ndip β€” the parent directory of the new filename. like, where it's moving to. the new address, if you will πŸ’…
  • dir_rename β€” True when ip is a directory. so if the thing you're moving is itself a directory, this gets set to true. important detail, don't skip it πŸ™ˆ

⭐ RETURN ⭐

errno β€” that's the return value, bestie. errno. literally what it says. 🌈


πŸ’– SEE ALSO πŸ’–

kernel file ./fs/gfs2/inode.c β€” and like, the entire gfs2 extended family, fr fr. it's giving family reunion 😭


πŸ’€ reminder: every single one of those (9) refs is in the original and i'm not dropping a single one. keep the whole squad together. periodt.

okay bye bestie, hope the move goes well πŸ’œ

β€” signed, sealed, delivered from ./fs/gfs2, dated October 2026 🧚✨

πŸ“¦ where this page comes from