v9fs_vfs_rename(9)
β¨ 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 nowold_dentryβ the old dentry, the original name situationnew_dirβ the new dir inode, where it's headednew_dentryβ the new dentry, the glow-up nameflagsβ theRENAME_*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 π:
unixmode2p9mode(9)p9mode2perm(9)p9mode2unixmode(9)v9fs_uflags2omode(9)v9fs_blank_wstat(9)v9fs_alloc_inode(9)v9fs_free_inode(9)v9fs_evict_inode(9)v9fs_at_to_dotl_flags(9)v9fs_dec_count(9)v9fs_remove(9)v9fs_create(9)v9fs_vfs_create(9)v9fs_vfs_mkdir(9)v9fs_vfs_lookup(9)v9fs_vfs_unlink(9)v9fs_vfs_rmdir(9)v9fs_vfs_getattr(9)v9fs_vfs_setattr(9)v9fs_stat2inode(9)v9fs_vfs_get_link(9)v9fs_vfs_mkspecial(9)v9fs_vfs_symlink(9)v9fs_vfs_link(9)v9fs_vfs_mknod(9)
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
- 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