~wb-munzinger/+junk/ocfs2-tools

« back to all changes in this revision

Viewing changes to fswreck/include/corrupt.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:
25
25
#ifndef __CORRUPT_H
26
26
#define __CORRUPT_H
27
27
 
28
 
void corrupt_chains(ocfs2_filesys *fs, int code, uint16_t slotnum);
29
28
void corrupt_file(ocfs2_filesys *fs, enum fsck_type type, uint16_t slotnum);
30
29
void corrupt_sys_file(ocfs2_filesys *fs, enum fsck_type type, uint16_t slotnum);
31
30
void corrupt_group_desc(ocfs2_filesys *fs, enum fsck_type type,
35
34
                         uint16_t slotnum);
36
35
void corrupt_truncate_log(ocfs2_filesys *fs, enum fsck_type type,
37
36
                          uint16_t slotnum);
 
37
void corrupt_refcount(ocfs2_filesys *fs, enum fsck_type type, uint16_t slotnum);
 
38
void corrupt_discontig_bg(ocfs2_filesys *fs, enum fsck_type type,
 
39
                          uint16_t slotnum);
38
40
 
39
41
#endif          /* __CORRUPT_H */