.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NTFS_EMPTY_LOGFILE" "9" "09 October 2005" "" ""
.SH NAME
ntfs_empty_logfile \- empty the contents of the $LogFile journal
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
BOOL ntfs_empty_logfile (struct inode * \fIlog_vi\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIlog_vi\fB\fR
struct inode of loaded journal \fB$LogFile\fR to empty
.SH "DESCRIPTION"
.PP
Empty the contents of the \fB$LogFile\fR journal \fIlog_vi\fR and return TRUE on
success and FALSE on error.
.PP
This function assumes that the \fB$LogFile\fR journal has already been consistency
checked by a call to \fBntfs_check_logfile\fR and that \fBntfs_is_logfile_clean\fR
has been used to ensure that the \fB$LogFile\fR is clean.