]> git.ipfire.org Git - people/arne_f/kernel.git/commit
bcache: Fix a null ptr deref regression
authorKent Overstreet <kmo@daterainc.com>
Fri, 11 Oct 2013 00:31:15 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2013 01:14:32 +0000 (18:14 -0700)
commitfe164452c52395b47286b0ba3dfc9b3b3041f547
treee432104f0ecf1961ff254a40f9e8281ece62d09c
parentc0684969f66a2f636f5c9a78fe7267b38ccd149f
bcache: Fix a null ptr deref regression

commit 2fe80d3bbf1c8bd9efc5b8154207c8dd104e7306 upstream.

Commit c0f04d88e46d ("bcache: Fix flushes in writeback mode") was fixing
a reported data corruption bug, but it seems some last minute
refactoring or rebasing introduced a null pointer deref.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Reported-by: Gabriel de Perthuis <g2p.code@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/bcache/request.c