commit | bb930007c006c5d7b8ecba41bb5bafd2dcd1fa79 | [log] [tgz] |
---|---|---|
author | Baokun Li <libaokun1@huawei.com> | Fri Jun 11 14:51:15 2021 +0800 |
committer | David Sterba <dsterba@suse.com> | Tue Jun 22 14:11:57 2021 +0200 |
tree | 704c19eee0db7c9eefcaa17a83a534aa678542f2 | |
parent | b05fbcc36be1f8597a1febef4892053a0b2f3f60 [diff] |
btrfs: send: use list_move_tail instead of list_del/list_add_tail Use list_move_tail() instead of list_del() + list_add_tail() as it's doing the same thing and allows further cleanups. Open code name_cache_used() as there is only one user. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Baokun Li <libaokun1@huawei.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>