]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: Fix a dumb journal discard bug
authorKent Overstreet <kmo@daterainc.com>
Tue, 24 Sep 2013 06:17:27 +0000 (23:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Sep 2013 21:41:43 +0000 (14:41 -0700)
commit3c300874c84d307d77dfcf6b43d41a3a07dac77b
tree80222e590d8c8f126101e1cb15cc627833821418
parentedf340d7af580774149f879362b3e0f28c6e52e0
bcache: Fix a dumb journal discard bug

That switch statement was obviously wrong, leading to some sort of weird
spinning on rare occasion with discards enabled...

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.10
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/bcache/journal.c