Re: [PATCH v2] VFS: change old_dir and new_dir in struct renamedata to dentrys
From: Christian Brauner
Date: Mon Jun 16 2025 - 10:32:37 EST
On Fri, 13 Jun 2025 09:28:10 +1000, NeilBrown wrote:
> all users of 'struct renamedata' have the dentry for the old and new
> directories, and often have no use for the inode except to store it in
> the renamedata.
>
> This patch changes struct renamedata to hold the dentry, rather than
> the inode, for the old and new directories, and changes callers to
> match. The names are also changed from a _dir suffix to _parent. This
> is consistent with other usage in namei.c and elsewhere.
>
> [...]
Applied to the vfs-6.17.misc branch of the vfs/vfs.git tree.
Patches in the vfs-6.17.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-6.17.misc
[1/1] VFS: change old_dir and new_dir in struct renamedata to dentrys
https://git.kernel.org/vfs/vfs/c/bc9241367aac