mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-17 00:10:03 -04:00
Set default for readv offset argument
This commit is contained in:
parent
32f7ea9961
commit
5c698e7433
@ -132,13 +132,13 @@ class filesystem_v2 {
|
|||||||
return impl_->read(inode, buf, size, offset);
|
return impl_->read(inode, buf, size, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t
|
ssize_t readv(uint32_t inode, iovec_read_buf& buf, size_t size,
|
||||||
readv(uint32_t inode, iovec_read_buf& buf, size_t size, off_t offset) const {
|
off_t offset = 0) const {
|
||||||
return impl_->readv(inode, buf, size, offset);
|
return impl_->readv(inode, buf, size, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
folly::Expected<std::vector<std::future<block_range>>, int>
|
folly::Expected<std::vector<std::future<block_range>>, int>
|
||||||
readv(uint32_t inode, size_t size, off_t offset) const {
|
readv(uint32_t inode, size_t size, off_t offset = 0) const {
|
||||||
return impl_->readv(inode, size, offset);
|
return impl_->readv(inode, size, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user