Skip to content

Commit

Permalink
Btrfs: remove unused use_list from send/receive code
Browse files Browse the repository at this point in the history
use_list is a leftover and unused.

Signed-off-by: Alexander Block <ablock84@googlemail.com>
  • Loading branch information
Alexander Block authored and Chris Mason committed Oct 1, 2012
1 parent ccf1626 commit d27aed5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d27aed5

Please sign in to comment.