nfs_async_rename(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 nfs_async_rename πŸ’…

okay bestie, so this one's from the Kernel API Manual and it's literally the NFS girlies' guide to doing a rename asynchronously β€” like, not right now, but the kernel's got it handled, trust. πŸ¦‹

✨ NAME ✨

nfs_async_rename β€” perform an asynchronous rename operation, no cap πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

struct rpc_task * nfs_async_rename (struct inode *old_dir , struct inode
*new_dir , struct dentry *old_dentry , struct dentry *new_dentry , void
(*complete)(struct rpc_task *, struct nfs_renamedata *) );

like… it returns a struct rpc_task *, she's giving main character energy fr fr πŸ”₯

🧚 ARGUMENTS 🧚

  • old_dir β€” the directory that currently holds the dentry you wanna rename. like, where she lives rn 🏠
  • new_dir β€” the target directory for the rename. the destination, the glow-up location ✨
  • old_dentry β€” the original dentry to be renamed. the before pic πŸ’…
  • new_dentry β€” the dentry that old_dentry should be renamed to. the after pic πŸŽ€
  • complete β€” Function to run on successful completion. yes bestie, it's a callback: void (*complete)(struct rpc_task *, struct nfs_renamedata *) β€” she gets called when things go right 🫢

🌈 DESCRIPTION 🌈

It's expected that valid references to the dentries and inodes are held.

ngl that's the whole description 😭 but it matters!! valid refs on the dentries and the inodes, held, periodt. do not come for this function without them πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, go read these too, iykyk:


okay that's the whole page, you ate that πŸ“ mwah πŸ’‹ β€” this came from ./fs/nfs, dated October 2026, in the Kernel API Manual, and nfs_async_rename(9) is literally the title of the whole thing. slay 🌟

πŸ“¦ where this page comes from