vfs: start at vmnt[0] to sync mounted filesystems, not vmnt[1].

This commit is contained in:
Ben Gras 2010-04-26 17:12:34 +00:00
parent 86e8eff905
commit 94edf4fa12

View file

@ -264,7 +264,7 @@ PUBLIC int do_fcntl()
PUBLIC int do_sync()
{
struct vmnt *vmp;
for (vmp = &vmnt[1]; vmp < &vmnt[NR_MNTS]; ++vmp)
for (vmp = &vmnt[0]; vmp < &vmnt[NR_MNTS]; ++vmp)
if (vmp->m_dev != NO_DEV)
req_sync(vmp->m_fs_e);