1. NAME

journal_wipe - Wipe journal contents

2. SYNOPSIS

int journal_wipe(journal_t *  journal , int  write );

3. ARGUMENTS

journal
    Journal to act on.

write
    flag (see below)

4. DESCRIPTION

Wipe out all of the contents of a journal, safely. This will produce a warning if the journal contains any valid recovery information. Must be called between journal_init_*() and journal_load.

If AqwriteAq is non-zero, then we wipe out the journal on disk; otherwise we merely suppress recovery.

5. AUTHORS

Roger Gammans < >
    Author.

Stephen Tweedie < >
    Author.

6. COPYRIGHT