commit | cb85114956dc88b287afca2872658f562acbc302 | [log] [tgz] |
---|---|---|
author | John Sheu <john.sheu@gmail.com> | Mon Mar 17 23:13:56 2014 -0700 |
committer | Kent Overstreet <kmo@daterainc.com> | Tue Mar 18 12:39:28 2014 -0700 |
tree | 910dac3eecdcbbb70eb38ab88d71f309719f6e2d | |
parent | 3a2fd9d5090b83aab85378a846fa10f39b0b5aa7 [diff] |
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: John Sheu <john.sheu@gmail.com>