]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: Fix for when no journal entries are found
authorKent Overstreet <kmo@daterainc.com>
Tue, 23 Jul 2013 01:13:44 +0000 (18:13 -0700)
committerKent Overstreet <kmo@daterainc.com>
Fri, 26 Jul 2013 20:17:01 +0000 (13:17 -0700)
commitd4c08c822a72400349f995dac97b21dedfcc58c7
treef816f43593f50a2a1e869474613a38179bd068e0
parent31a0d74c0072cf6de1d9364ba9ef0e0c251ec379
bcache: Fix for when no journal entries are found

The journal replay code didn't handle this case, causing it to go into
an infinite loop...

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