diff options
author | Baokun Li <libaokun1@huawei.com> | 2021-06-11 09:51:15 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-22 15:11:57 +0300 |
commit | bb930007c006c5d7b8ecba41bb5bafd2dcd1fa79 (patch) | |
tree | 704c19eee0db7c9eefcaa17a83a534aa678542f2 /fs/btrfs/tests | |
parent | b05fbcc36be1f8597a1febef4892053a0b2f3f60 (diff) | |
download | linux-bb930007c006c5d7b8ecba41bb5bafd2dcd1fa79.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/tests')
0 files changed, 0 insertions, 0 deletions