Skip to content

Commit a136cc6

Browse files
committed
crimson/os/seastore/transaction_manager: correct the offset of the data
copied from the original extents Signed-off-by: Xuehan Xu <[email protected]>
1 parent 441dd6f commit a136cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/transaction_manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ TransactionManager::rewrite_logical_extent(
561561
ceph_assert(left >= nextent->get_length());
562562
auto nlextent = nextent->template cast<LogicalCachedExtent>();
563563
lextent->get_bptr().copy_out(
564-
0,
564+
off,
565565
nlextent->get_length(),
566566
nlextent->get_bptr().c_str());
567567
nlextent->set_laddr(lextent->get_laddr() + off);

0 commit comments

Comments
 (0)