whitespace
This commit is contained in:
parent
74de9a1a94
commit
eee9004354
@ -13,6 +13,8 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
|
using namespace bcache;
|
||||||
|
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
|
||||||
// FIXME: get from linux headers
|
// FIXME: get from linux headers
|
||||||
@ -53,7 +55,6 @@ namespace {
|
|||||||
|
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
|
||||||
namespace bcache {
|
|
||||||
int
|
int
|
||||||
block_cache::init_free_list(unsigned count)
|
block_cache::init_free_list(unsigned count)
|
||||||
{
|
{
|
||||||
@ -152,7 +153,6 @@ namespace bcache {
|
|||||||
int r;
|
int r;
|
||||||
iocb *control_blocks[1];
|
iocb *control_blocks[1];
|
||||||
|
|
||||||
// FIXME: put this back in
|
|
||||||
assert(!b.test_flags(BF_IO_PENDING));
|
assert(!b.test_flags(BF_IO_PENDING));
|
||||||
b.set_flags(BF_IO_PENDING);
|
b.set_flags(BF_IO_PENDING);
|
||||||
nr_io_pending_++;
|
nr_io_pending_++;
|
||||||
@ -654,6 +654,5 @@ namespace bcache {
|
|||||||
throw std::runtime_error(out.str());
|
throw std::runtime_error(out.str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user