mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
bcachefs: Free iterator in bch2_btree_delete_range_trans()
This is specifically to speed up bch2_inode_rm(), so that we're not traversing iterators we're done with. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
c5f51cdd5f
commit
a84b6c50f1
@ -1187,7 +1187,7 @@ retry:
|
||||
goto retry;
|
||||
}
|
||||
|
||||
bch2_trans_iter_put(trans, iter);
|
||||
bch2_trans_iter_free(trans, iter);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user