]> git.pld-linux.org Git - packages/kernel.git/blame - linux-2.4.20-umount-sync-super.patch
- ported from linux-2.4.25-atmdd.patch
[packages/kernel.git] / linux-2.4.20-umount-sync-super.patch
CommitLineData
7b5fb00a 1--- linux-2.4.20/fs/ext3/super.c.org Wed Dec 4 14:34:24 2002
2+++ linux-2.4.20/fs/ext3/super.c Wed Dec 4 14:39:04 2002
3@@ -1641,7 +1641,7 @@
4 sb->s_dirt = 0;
5 target = log_start_commit(EXT3_SB(sb)->s_journal, NULL);
6
7- if (do_sync_supers) {
8+ if (do_sync_supers || !sb->s_root) {
9 unlock_super(sb);
10 log_wait_commit(EXT3_SB(sb)->s_journal, target);
11 lock_super(sb);
This page took 0.174157 seconds and 4 git commands to generate.