1
/* -*- mode: c; c-basic-offset: 8; -*-
2
* vim: noexpandtab sw=8 ts=8 sts=0:
6
* Copyright (C) 2010 Oracle. All rights reserved.
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public
10
* License, version 2, as published by the Free Software Foundation.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
22
#include <sys/param.h>
24
#include <sys/sysmacros.h>
28
#include "tools-internal/scandisk.h"
29
#include "o2cb/o2cb.h"
31
#include "ocfs2-kernel/kernel-list.h"
34
struct list_head od_list;
36
#define O2CB_DEVICE_FOUND 0x01
37
#define O2CB_DEVICE_HB_STARTED 0x02
39
struct o2cb_region_desc od_region;
40
struct o2cb_cluster_desc od_cluster;
43
void o2cb_scandisk(struct list_head *hbdevs);