# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1311948415 -7200 # Node ID f361d688365c82a848486406c94f6a5ee42cd2da # Parent bbdb8ea3079a86b3eccd6ed948df5db5044c24e9 FIX: cache should not be used for dirty blocks! diff -r bbdb8ea3079a -r f361d688365c bin/imager.fuse --- a/bin/imager.fuse Fri Jul 29 15:52:09 2011 +0200 +++ b/bin/imager.fuse Fri Jul 29 16:06:55 2011 +0200 @@ -230,7 +230,7 @@ $cache{fn} = $fn; } - return substr($cache{data}, $blockoffset, $size); + return substr($cache{data}, $blockoffset, $length); die "$fn: $!\n"; }