Re: [PATCH v4 12/14] ecryptfs: use new start_creating/start_removing APIs

From: Al Viro

Date: Thu Oct 30 2025 - 02:24:23 EST


On Thu, Oct 30, 2025 at 10:31:12AM +1100, NeilBrown wrote:

> +static struct dentry *ecryptfs_start_creating_dentry(struct dentry *dentry)
> {
> - struct dentry *lower_dir_dentry;
> + struct dentry *parent = dget_parent(dentry->d_parent);

"Grab the reference to grandparent"?