summaryrefslogtreecommitdiff
path: root/lib/ext2fs/unix_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/unix_io.c')
-rw-r--r--lib/ext2fs/unix_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c
index e8cd880c..1dcca4ad 100644
--- a/lib/ext2fs/unix_io.c
+++ b/lib/ext2fs/unix_io.c
@@ -252,6 +252,7 @@ static struct unix_cache *find_cached_block(io_channel channel,
cache->block, 1, cache->buf);
}
cache->in_use = 1;
+ cache->dirty = 0;
cache->block = block;
cache->access_time = ++data->access_time;
return cache;