[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z5QeZBnBKgV9qKpJ@slm.duckdns.org>
Date: Fri, 24 Jan 2025 13:12:36 -1000
From: Tejun Heo <tj@...nel.org>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
Michal Koutný <mkoutny@...e.com>,
"Paul E. McKenney" <paulmck@...nel.org>,
Boqun Feng <boqun.feng@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hillf Danton <hdanton@...a.com>,
Johannes Weiner <hannes@...xchg.org>,
Marco Elver <elver@...gle.com>, Zefan Li <lizefan.x@...edance.com>,
tglx@...utronix.de
Subject: Re: [PATCH v4 3/6] kernfs: Acquire kernfs_rwsem in
kernfs_node_dentry().
On Fri, Jan 24, 2025 at 06:46:11PM +0100, Sebastian Andrzej Siewior wrote:
> kernfs_node_dentry() passes kernfs_node::name to
> lookup_positive_unlocked().
>
> Acquire kernfs_root::kernfs_rwsem to ensure the node is not renamed
> during the operation.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists