From cb85114956dc88b287afca2872658f562acbc302 Mon Sep 17 00:00:00 2001 From: John Sheu Date: Mon, 17 Mar 2014 23:13:56 -0700 Subject: [PATCH] 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 --- Reading git-format-patch failed