.\" 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 "LOAD_AND_INIT_USNJRNL" "9" "09 October 2005" "" ""
.SH NAME
load_and_init_usnjrnl \- load and setup the transaction log if present
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
BOOL load_and_init_usnjrnl (ntfs_volume * \fIvol\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvol\fB\fR
ntfs super block describing device whose usnjrnl file to load
.SH "DESCRIPTION"
.PP
Return TRUE on success or FALSE on error.
.PP
If \fB$UsnJrnl\fR is not present or in the process of being disabled, we set
\fBNVolUsnJrnlStamped\fR and return success.
.PP
If the \fB$UsnJrnl\fR \fB$DATA\fR/\fB$J\fR attribute has a size equal to the lowest valid usn,
i.e. transaction logging has only just been enabled or the journal has been
stamped and nothing has been logged since, we also set \fBNVolUsnJrnlStamped\fR
and return success.