]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filejournal: remove bogus check in read_entry
authorSage Weil <sage@newdream.net>
Mon, 5 Dec 2011 18:52:24 +0000 (10:52 -0800)
committerSage Weil <sage@newdream.net>
Mon, 5 Dec 2011 18:53:27 +0000 (10:53 -0800)
commit1e3da7edcf8881b10f35879e4b5b6be93167c636
treef4e53486f01d89b9136fa50faabd7db1527ea69f
parentdc167bac7800c75df971bded4b54e0de48f7b18f
filejournal: remove bogus check in read_entry

It is perfectly fine to read events that are older than the fs's seq from
the journal; open() will skip them when positioning the read pointer on
open.

Also, this code is nonsensical; it always failed the assertion.

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/FileJournal.cc