Re: linux-next: manual merge of the vfs tree with the overlayfs tree

From: Stephen Rothwell
Date: Wed Jan 24 2018 - 22:40:14 EST


Hi all,

On Thu, 25 Jan 2018 14:31:55 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> + if (!disconnected) {
> - hlist_bl_lock(&tmp->d_sb->s_roots);
> - hlist_bl_add_head(&tmp->d_hash, &tmp->d_sb->s_roots);
> - hlist_bl_unlock(&tmp->d_sb->s_roots);
> ++ hlist_bl_lock(&dentry->d_sb->s_roots);
> ++ hlist_bl_add_head(&dentry->d_hash, &tmp->d_sb->s_roots);

I fixed up the "tmp" here ... it should have been "dentry".

--
Cheers,
Stephen Rothwell