]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: Fix a dumb journal discard bug
authorKent Overstreet <kmo@daterainc.com>
Thu, 18 Jul 2013 17:50:55 +0000 (10:50 -0700)
committerKent Overstreet <kmo@daterainc.com>
Fri, 26 Jul 2013 20:15:10 +0000 (13:15 -0700)
commiteeea65848d4305836b9c397169515b2ab0c2a034
tree646ae8b2af8fc6e0ba715af3b615d03a576c15ce
parent79826c35eb99cd3c0873b8396f45fa26c87fb0b0
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
drivers/md/bcache/journal.c