]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a27f74b1c4e568750d3a6c71f4d517ba69364d9
tree84aaf50c2b5b46e669315caf2fd32f143145f2f5
parentc94ff981d5c076ff9934f1d97f18d6a01adf4bb8
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