]> git.baikalelectronics.ru Git - 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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 11 Oct 2013 01:17:39 +0000 (18:17 -0700)
commit114be8473c85ac9588871efd2dec540afb930216
tree729b2f1de3b8bf8eb96e1640c415b8d0c3b5fe1c
parent1e048ee813e08717ca3ae371273d4cc10e469cd1
bcache: Fix a null ptr deref regression

Commit d12fb016ac06 ("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>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.10
Reported-by: Gabriel de Perthuis <g2p.code@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/bcache/request.c