Skip to content
Commit cb851149 authored by John Sheu's avatar John Sheu Committed by Kent Overstreet
Browse files

bcache: remove nested function usage



Uninlined nested functions can cause crashes when using ftrace, as they don't
follow the normal calling convention and confuse the ftrace function graph
tracer as it examines the stack.

Also, nested functions are supported as a gcc extension, but may fail on other
compilers (e.g. llvm).

Signed-off-by: default avatarJohn Sheu <john.sheu@gmail.com>
parent 3a2fd9d5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment