mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Issue device sync request at the end of ext2's sync
This commit is contained in:
parent
4d5d0942ad
commit
f739c67ed3
@ -14,6 +14,8 @@ impl FileSystem for Ext2 {
|
||||
fn sync(&self) -> Result<()> {
|
||||
self.sync_all_inodes()?;
|
||||
self.sync_metadata()?;
|
||||
|
||||
self.block_device().sync()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user