]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: Fix for when no journal entries are found
authorKent Overstreet <kmo@daterainc.com>
Tue, 24 Sep 2013 06:17:29 +0000 (23:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Sep 2013 21:41:43 +0000 (14:41 -0700)
commit41e1b5527c751d624f85a5da425655b6c1b080d2
treeb8535ddd7d830429ffafd3202524511eef70027d
parent1bc841295d760744ea2b0ef088821eedc6e91746
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
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/bcache/journal.c