goto error;
}
+ /*
+ * mmap_valid_len is guaranteed to be page-aligned except on the
+ * last mapping where it may not be possible (since the file's
+ * size itself may not be a page multiple).
+ */
ds_file->mmap_offset += ds_file->mmap_valid_len;
ds_file->request_offset = 0;
}