Commit 055939f7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Make fix sync_filesystems() actually do something

Random semicolon makes the whole thing a no-op.

It _did_ work.  I must have broken it between testing and sending :(
parent 157697eb
......@@ -311,7 +311,7 @@ void sync_filesystems(int wait)
spin_lock(&sb_lock);
for (sb = sb_entry(super_blocks.next); sb != sb_entry(&super_blocks);
sb = sb_entry(sb->s_list.next)) {
if (!sb->s_op->sync_fs);
if (!sb->s_op->sync_fs)
continue;
if (sb->s_flags & MS_RDONLY)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment