nfs_async_rename(9)
πΈ 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 thatold_dentryshould 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:
- Kernel file
./fs/nfs/unlink.c nfs_free_unlinkdata(9)nfs_async_unlink_done(9)nfs_async_unlink_release(9)nfs_async_unlink(9)nfs_complete_unlink(9)nfs_async_rename_done(9)nfs_async_rename_release(9)nfs_sillyrename(9)
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
- 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