You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function requires parameters @slot and @itemoff to record where the
next item should land.
But this is overkilled, as after inserting an item, the temporary extent
buffer will have its header nritems and the item pointer updated.
We can use that header nritems and item pointer to get where the next
item should land.
This removes the external counter to record @slot and @itemoff.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
0 commit comments