Remove v2_writer lseek call
Removing lseek call as writefully() should be sufficient in ensuring our fd is moved to the correct spot Test: cow_api_test Change-Id: I404b192335ab1672ed61de426e17e63ab9d51ece
This commit is contained in:
parent
94a732e026
commit
f8c50df1c7
1 changed files with 0 additions and 5 deletions
|
@ -262,11 +262,6 @@ bool CowWriterV2::OpenForWrite() {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (lseek(fd_.get(), sizeof(CowHeader) + header_.buffer_size, SEEK_SET) < 0) {
|
||||
PLOG(ERROR) << "lseek failed";
|
||||
return false;
|
||||
}
|
||||
|
||||
InitPos();
|
||||
InitBatchWrites();
|
||||
|
||||
|
|
Loading…
Reference in a new issue