On Wed, Aug 31, 2022 at 11:00:42AM +0200, Michal Koutný wrote: > Hello Dan Carpenter. > > On Wed, Aug 31, 2022 at 10:08:09AM +0300, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > > The kernfs_walk_and_get() function calls down_read() (a semaphore) so > > it can't be called while holding a spinlock. > > Thanks for the report (I should have looked deeper into > kernfs_walk_and_get). > > I'd propose a patch like bellow. > > Are you OK with adding > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > as I'll send the proposed patch to public mailing lists. > Yes, please. Thanks! regards, dan carpenter