Commit 7a2a7655 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] provide user feedback for emergency sync and remount

People like to see when the emergency sync and emergency remount operations
have completed.
parent 41541461
......@@ -253,6 +253,8 @@ static void do_sync(unsigned long wait)
sync_filesystems(0); /* Start syncing the filesystems */
sync_filesystems(wait); /* Waitingly sync the filesystems */
sync_inodes(wait); /* Mappings, inodes and blockdevs, again. */
if (!wait)
printk("Emergency Sync complete\n");
}
asmlinkage long sys_sync(void)
......
......@@ -497,6 +497,7 @@ static void do_emergency_remount(unsigned long foo)
spin_lock(&sb_lock);
}
spin_unlock(&sb_lock);
printk("Emergency Remount complete\n");
}
void emergency_remount(void)
......
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