diff options
| author | Dave Kleikamp <shaggy@austin.ibm.com> | 2002-05-08 18:12:07 -0700 |
|---|---|---|
| committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2002-05-08 18:12:07 -0700 |
| commit | 3686a39856c6f5ca34547b7e79f02eb1287f4bd5 (patch) | |
| tree | 0ce77ad43e6a773212d56b31857517d1be4f87c6 /include/linux | |
| parent | 4ce6b618012e4649b858bf2884f7fa060aee692b (diff) | |
[PATCH] Fix JFS file system corruption
JFS: Flush dirty metadata to disk when remounting from read-write
to read-only. Also fix umount ordering to make sure metadata is
written before journal closed.
With Andrew Morton's recent changes, JFS is no longer writing much
of its dirty metadata when remounting from read-write to read-only.
This causes severe file system corruption. A JFS root file system
will be corrupted on shutdown.
This patch fixes the problem by explicitly writing the dirty metadata
before the journal is closed. It also fixes the ordering so that
the dirty metadata is completely written before the journal is closed
for the normal unmount case as well.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
