Re: [PATCH] fgraph: Fix missing unlock in register_ftrace_graph()

From: Steven Rostedt
Date: Thu Oct 24 2024 - 00:46:34 EST


On Thu, 24 Oct 2024 10:45:46 +0800
Li Huafei <lihuafei1@xxxxxxxxxx> wrote:

> Agreed, this will make the code simpler and avoid mistakes. If we need
> to replace all mutex(&ftrace_lock), would it be better to submit another
> cleanup patch? We can fix the issue here first.

This case is a bug fix, just add it here.

We can do a clean up separately for the other locations.

-- Steve