~wb-munzinger/+junk/ocfs2-tools

« back to all changes in this revision

Viewing changes to fsck.ocfs2/include/refcount.h

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2011-01-14 12:46:49 UTC
  • mfrom: (1.1.10 upstream) (0.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110114124649-vbe5qz211f3zxwuf
Tags: 1.6.3-1ubuntu1
* Merge from debian unstable (LP: #703008).  Remaining changes:
  - Fix configure tests for ld --as-needed.
  - Fix build failure with ld --no-add-needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: c; c-basic-offset: 8; -*-
 
2
 * vim: noexpandtab sw=8 ts=8 sts=0:
 
3
 *
 
4
 * refcount.h
 
5
 *
 
6
 * Copyright (C) 2009 Oracle.  All rights reserved.
 
7
 *
 
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.
 
11
 *
 
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.
 
16
 */
 
17
 
 
18
#ifndef __O2FSCK_REFCOUNT_H__
 
19
#define __O2FSCK_REFCOUNT_H__
 
20
 
 
21
#include "fsck.h"
 
22
 
 
23
errcode_t o2fsck_check_refcount_tree(o2fsck_state *ost,
 
24
                                     struct ocfs2_dinode *di);
 
25
errcode_t o2fsck_mark_clusters_refcounted(o2fsck_state *ost,
 
26
                                          uint64_t rf_blkno,
 
27
                                          uint64_t i_blkno,
 
28
                                          uint64_t p_cpos,
 
29
                                          uint32_t clusters,
 
30
                                          uint32_t v_cpos);
 
31
errcode_t o2fsck_check_mark_refcounted_clusters(o2fsck_state *ost);
 
32
#endif /* __O2FSCK_REFCOUNT_H__ */
 
33