'\" t .\" Title: journal_wipe .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: The Linux Journalling API .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "JOURNAL_WIPE" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "The Linux Journalling API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" journal_wipe \- Wipe journal contents .SH "SYNOPSIS" .HP \w'int\ journal_wipe('u .BI "int journal_wipe(journal_t\ *\ " "journal" ", int\ " "write" ");" .SH "ARGUMENTS" .PP \fIjournal\fR .RS 4 Journal to act on\&. .RE .PP \fIwrite\fR .RS 4 flag (see below) .RE .SH "DESCRIPTION" .PP 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 \fBjournal_load\fR\&. .PP If \*(Aqwrite\*(Aq is non\-zero, then we wipe out the journal on disk; otherwise we merely suppress recovery\&. .SH "AUTHORS" .PP \fBRoger Gammans\fR <\&rgammans@computer-surgery.co.uk\&> .RS 4 Author. .RE .PP \fBStephen Tweedie\fR <\&sct@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br