.\" 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_CHECK_LOGFILE" "9" "09 October 2005" "" ""
.SH NAME
ntfs_check_logfile \- check the journal for consistency
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
BOOL ntfs_check_logfile (struct inode * \fIlog_vi\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIlog_vi\fB\fR
struct inode of loaded journal \fB$LogFile\fR to check
.SH "DESCRIPTION"
.PP
Check the \fB$LogFile\fR journal for consistency and return TRUE if it is
consistent and FALSE if not.
.PP
At present we only check the two restart pages and ignore the log record
pages.
.PP
Note that the MstProtected flag is not set on the \fB$LogFile\fR inode and hence
when reading pages they are not deprotected. This is because we do not know
if the \fB$LogFile\fR was created on a system with a different page size to ours
yet and mst deprotection would fail if our page size is smaller.