• Anton Altaparmakov's avatar
    NTFS: Read the journal ($LogFile) and determine if the volume has been shutdown cleanly · 589ab626
    Anton Altaparmakov authored
          and force a read-only mount if not (fs/ntfs/super.c and fs/ntfs/logfile.c).  This
          is a little bit of a crude check in that we only look at the restart areas and
          not at the actual log records so that there will be a very small number of cases
          where we think that a volume is dirty when in fact it is clean.  This should only
          affect volumes that have not been shutdown cleanly and did not have any pending,
          non-check-pointed i/o.
    589ab626
logfile.c 22 KB