Commit 46d54992 authored by Pan Chuang's avatar Pan Chuang Committed by David Sterba
Browse files

btrfs: use rb_find_add() in rb_simple_insert()



Use the rb-tree helper so we don't open code the search and insert
code.

Signed-off-by: default avatarPan Chuang <panchuang@vivo.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c52ea14d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment