Skip to content

Commit

Permalink
abd_fini_struct -> abd_free_struct in lundman's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rottegift committed May 2, 2021
1 parent f4f70fa commit 391209b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/abd.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ abd_get_offset_struct(abd_t *abd, abd_t *sabd, size_t off, size_t size)
abd_init_struct(abd);
result = abd_get_offset_impl(abd, sabd, off, size);
if (result != abd)
abd_fini_struct(abd);
abd_free_struct(abd);
return (result);
}

Expand Down

0 comments on commit 391209b

Please sign in to comment.