aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Block <ablock84@googlemail.com>2012-07-28 06:04:16 -0400
committerChris Mason <chris.mason@fusionio.com>2012-10-01 15:18:48 -0400
commitd27aed5e24f8e7bb2b0d11e7a579f2bbdebafc2f (patch)
tree53dc49ebd3fc85fc0ce513b692ca391de5058539
parentccf1626b49a94d66f3bb58d634888049ac695b46 (diff)
Btrfs: remove unused use_list from send/receive code
use_list is a leftover and unused. Signed-off-by: Alexander Block <ablock84@googlemail.com>
-rw-r--r--fs/btrfs/send.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 328654ea4400..f1d44b125beb 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -125,7 +125,6 @@ struct send_ctx {
125 125
126struct name_cache_entry { 126struct name_cache_entry {
127 struct list_head list; 127 struct list_head list;
128 struct list_head use_list;
129 u64 ino; 128 u64 ino;
130 u64 gen; 129 u64 gen;
131 u64 parent_ino; 130 u64 parent_ino;
@@ -1906,7 +1905,6 @@ out_cache:
1906 nce->name_len = fs_path_len(dest); 1905 nce->name_len = fs_path_len(dest);
1907 nce->ret = ret; 1906 nce->ret = ret;
1908 strcpy(nce->name, dest->start); 1907 strcpy(nce->name, dest->start);
1909 memset(&nce->use_list, 0, sizeof(nce->use_list));
1910 1908
1911 if (ino < sctx->send_progress) 1909 if (ino < sctx->send_progress)
1912 nce->need_later_update = 0; 1910 nce->need_later_update = 0;