NTFS: Read the journal ($LogFile) and determine if the volume has been shutdown cleanly
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.
Showing
This diff is collapsed.
fs/ntfs/logfile.c
0 → 100644
This diff is collapsed.
fs/ntfs/logfile.h
0 → 100644
This diff is collapsed.
Please register or sign in to comment