bcache: Fix an infinite loop in journal replay
authorKent Overstreet <kmo@daterainc.com>
Mon, 2 Jun 2014 22:39:44 +0000 (15:39 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 4 Aug 2014 22:23:03 +0000 (15:23 -0700)
commit6b708de64adb6dc8319e7aeac922b46904fbeeec
tree84aaf50c2b5b46e669315caf2fd32f143145f2f5
parent913dc33fb2720fb5f979011664294137ddd8b13b
bcache: Fix an infinite loop in journal replay

When running with multiple cache devices, if one of the devices has a completely
empty journal but we'd already found some journal entries on a previosu device
we'd go into an infinite loop.

Change-Id: I1dcdc0d738192746de28f40e8b08825b0dea5e2b
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/journal.c
This page took 0.037394 seconds and 5 git commands to generate.