Commit d27aed5e authored by Alexander Block's avatar Alexander Block Committed by Chris Mason

Btrfs: remove unused use_list from send/receive code

use_list is a leftover and unused.
Signed-off-by: default avatarAlexander Block <ablock84@googlemail.com>
parent ccf1626b
......@@ -125,7 +125,6 @@ struct send_ctx {
struct name_cache_entry {
struct list_head list;
struct list_head use_list;
u64 ino;
u64 gen;
u64 parent_ino;
......@@ -1906,7 +1905,6 @@ static int __get_cur_name_and_parent(struct send_ctx *sctx,
nce->name_len = fs_path_len(dest);
nce->ret = ret;
strcpy(nce->name, dest->start);
memset(&nce->use_list, 0, sizeof(nce->use_list));
if (ino < sctx->send_progress)
nce->need_later_update = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment