diff options
author | Baokun Li <libaokun1@huawei.com> | 2021-06-11 14:51:15 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-22 14:11:57 +0200 |
commit | bb930007c006c5d7b8ecba41bb5bafd2dcd1fa79 (patch) | |
tree | 704c19eee0db7c9eefcaa17a83a534aa678542f2 /fs/btrfs/dev-replace.c | |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions