vfs: start at vmnt[0] to sync mounted filesystems, not vmnt[1].
This commit is contained in:
parent
86e8eff905
commit
94edf4fa12
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue