Skip to content
  • John Sheu's avatar
    bcache: remove nested function usage · cb851149
    John Sheu authored
    
    
    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>
    cb851149