Skip to content

Commit 36c7eb7

Browse files
committed
crimson/os/seastore: fix compile error in release build
Signed-off-by: Zhang Song <[email protected]>
1 parent de7b8ac commit 36c7eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/cache.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ Cache::retire_extent_ret Cache::retire_extent_addr(
108108
void Cache::retire_absent_extent_addr(
109109
Transaction &t, paddr_t addr, extent_len_t length)
110110
{
111-
#ifndef NDEBUG
112111
CachedExtentRef ext;
112+
#ifndef NDEBUG
113113
auto result = t.get_extent(addr, &ext);
114114
assert(result != Transaction::get_extent_ret::PRESENT
115115
&& result != Transaction::get_extent_ret::RETIRED);

0 commit comments

Comments
 (0)