v9fs_vfs_rename(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ v9fs_vfs_rename(9) ✨

okay bestie, so this is a page from the Kernel API Manual and it's literally all about v9fs_vfs_rename β€” the VFS hook that handles renaming an inode πŸ’…


πŸŽ€ NAME πŸŽ€

v9fs_vfs_rename β€” the VFS hook to rename an inode. yeah that's it, that's the vibe πŸ¦‹


🌸 SYNOPSIS 🌸

int v9fs_vfs_rename (struct mnt_idmap *idmap , struct inode *old_dir ,
struct dentry *old_dentry , struct inode *new_dir , struct dentry
*new_dentry , unsigned int flags );

like, it returns an int and takes six whole arguments β€” main character energy fr fr πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

here's the rundown of every single parameter, no cap:

  • idmap β€” the idmap of the mount 🫢
  • old_dir β€” the old dir inode, aka where the thing is right now
  • old_dentry β€” the old dentry, the original name situation
  • new_dir β€” the new dir inode, where it's headed
  • new_dentry β€” the new dentry, the glow-up name
  • flags β€” the RENAME_* flags, the little settings that control the whole operation ✨

πŸ”₯ SEE ALSO πŸ”₯

bestie, there's a whole friend group of related stuff in the kernel file ./fs/9p/vfs_inode.c β€” here's everyone invited to the group chat 😭:


and that's the whole page, bestie β€” every option, every arg, every reference, all accounted for ✨

this gem comes from the path ./fs/9p and it's dated October 2026, filed under v9fs_vfs_rename(9) β€” stay slay, stay renaming, mwah πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from