Commit 34dfa5db authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_bkey_get_mut() improvements



 - bch2_bkey_get_mut() now handles types increasing in size, allocating
   a buffer for the type's current size when necessary
 - bch2_bkey_make_mut_typed()
 - bch2_bkey_get_mut() now initializes the iterator, like
   bch2_bkey_get_iter()

Also, refactor so that most of the code is in functions - now macros are
only used for wrappers.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d67a16df
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment