Re: [PATCH v2] kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR

From: Tejun Heo
Date: Mon May 22 2023 - 22:41:20 EST


On Tue, May 23, 2023 at 10:40:17AM +0800, Muchun Song wrote:
> The root->ino_idr is supposed to be protected by kernfs_idr_lock, fix
> it.
>
> Fixes: 488dee96bb62 ("kernfs: allow creating kernfs objects with arbitrary uid/gid")
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun