jbd2_journal_wipe(9) - phpMan
JBD2_JOURNAL_WIPE(9) The Linux Journalling API JBD2_JOURNAL_WIPE(9)
NAME
jbd2_journal_wipe - Wipe journal contents
SYNOPSIS
int jbd2_journal_wipe(journal_t * journal, int write);
ARGUMENTS
journal
Journal to act on.
write
flag (see below)
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 jbd2_journal_load.
If 'write' is non-zero, then we wipe out the journal on disk; otherwise we merely suppress
recovery.
AUTHORS
Roger Gammans <rgammans AT computer-surgery.uk>
Author.
Stephen Tweedie <sct AT redhat.com>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 JBD2_JOURNAL_WIPE(9)
|