projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf1626
)
Btrfs: remove unused use_list from send/receive code
author
Alexander Block
<ablock84@googlemail.com>
Sat, 28 Jul 2012 10:04:16 +0000
(12:04 +0200)
committer
Chris Mason
<chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:48 +0000
(15:18 -0400)
use_list is a leftover and unused.
Signed-off-by: Alexander Block <ablock84@googlemail.com>
fs/btrfs/send.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/send.c
b/fs/btrfs/send.c
index 328654ea4400b185000b6a9eb4124700d6401f63..f1d44b125beb5fadb5b9f2ed8bb3972f068fa6f1 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-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
@@
out_cache:
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;