ocfs2_vfs_reflink(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this one is from the Kernel API Manual, and it's literally about ocfs2_vfs_reflink β€” the function that creates a reference-counted link. slay.


πŸ’– NAME πŸ’–

ocfs2_vfs_reflink β€” Create a reference-counted link. no cap, that's the whole name vibe.


🌸 SYNOPSIS 🌸

int ocfs2_vfs_reflink (struct dentry *old_dentry , struct inode *dir ,
       struct dentry *new_dentry , bool preserve );

πŸŽ€ ARGUMENTS πŸŽ€

  • old_dentry β€” source dentry + inode. it's giving "where we're linking from" energy 🫢
  • dir β€” directory to create the target. the target's home base, fr fr.
  • new_dentry β€” target dentry. the new link's main character moment ✨
  • preserve β€” if true, preserve all file attributes. every single one, periodt πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./fs/ocfs2/refcounttree.c β€” go peek, iykyk πŸ‘‘

mwah πŸ’‹ β€” from ./fs/ocfs2, October 2026 πŸŽ€

πŸ“¦ where this page comes from