Issue device sync request at the end of ext2's sync

This commit is contained in:
Shaowei Song 2024-12-26 16:45:09 +00:00 committed by Tate, Hongliang Tian
parent 4d5d0942ad
commit f739c67ed3

View File

@ -14,6 +14,8 @@ impl FileSystem for Ext2 {
fn sync(&self) -> Result<()> {
self.sync_all_inodes()?;
self.sync_metadata()?;
self.block_device().sync()?;
Ok(())
}