Commit 9687bbf
committed
ftrace: Use guard to take the ftrace_lock in release_probe()
The ftrace_lock is held throughout the entire release_probe() function.
Use guard to simplify any exit paths.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 1432afb commit 9687bbf
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5288 | 5288 | | |
5289 | 5289 | | |
5290 | 5290 | | |
5291 | | - | |
| 5291 | + | |
5292 | 5292 | | |
5293 | 5293 | | |
5294 | 5294 | | |
| |||
5306 | 5306 | | |
5307 | 5307 | | |
5308 | 5308 | | |
5309 | | - | |
5310 | 5309 | | |
5311 | 5310 | | |
5312 | 5311 | | |
| |||
0 commit comments