parent
8a99c08ae4
commit
918895a4f4
|
@ -191,6 +191,7 @@ class Vfs::Block_file_system : public Single_file_system
|
||||||
|
|
||||||
written += nbytes;
|
written += nbytes;
|
||||||
count -= nbytes;
|
count -= nbytes;
|
||||||
|
seek_offset += nbytes;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -222,6 +223,7 @@ class Vfs::Block_file_system : public Single_file_system
|
||||||
|
|
||||||
written += length;
|
written += length;
|
||||||
count -= length;
|
count -= length;
|
||||||
|
seek_offset += length;
|
||||||
}
|
}
|
||||||
|
|
||||||
out_count = written;
|
out_count = written;
|
||||||
|
@ -274,6 +276,7 @@ class Vfs::Block_file_system : public Single_file_system
|
||||||
|
|
||||||
read += nbytes;
|
read += nbytes;
|
||||||
count -= nbytes;
|
count -= nbytes;
|
||||||
|
seek_offset += nbytes;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -294,6 +297,7 @@ class Vfs::Block_file_system : public Single_file_system
|
||||||
|
|
||||||
read += length;
|
read += length;
|
||||||
count -= length;
|
count -= length;
|
||||||
|
seek_offset += length;
|
||||||
}
|
}
|
||||||
|
|
||||||
out_count = read;
|
out_count = read;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user