bcache: defensively handle format strings
authorKees Cook <keescook@chromium.org>
Wed, 11 Sep 2013 04:41:34 +0000 (21:41 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:43 +0000 (21:56 -0800)
commitc86949486d41d9e7d7681fc72923555114fd702f
tree54656066a419dc4f6802acc256abc2816346ec43
parent5ceaaad7047745c1c02150c39d3fb623b7948d48
bcache: defensively handle format strings

Just to be safe, call the error reporting function with "%s" to avoid
any possible future format string leak.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/super.c