projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4a9b2
)
btrfs: Remove unused variable
author
Nikolay Borisov
<
[email protected]
>
Mon, 21 Aug 2017 09:43:43 +0000
(12:43 +0300)
committer
David Sterba
<
[email protected]
>
Mon, 30 Oct 2017 11:27:55 +0000
(12:27 +0100)
Src was initially part of
31ff1cd25d37
("Btrfs: Copy into the log tree in
big batches"), however
16e7549f045d
("Btrfs: incompatible format change
to remove hole extents") changed parameters passed to copy_items which
made the src variable redundant.
Signed-off-by: Nikolay Borisov <
[email protected]
>
Reviewed-by: Timofey Titovets <
[email protected]
>
Reviewed-by: Josef Bacik <
[email protected]
>
Signed-off-by: David Sterba <
[email protected]
>
fs/btrfs/tree-log.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/tree-log.c
b/fs/btrfs/tree-log.c
index 963f22b1750868dbfd77b8e177886647a622c498..1036ac7313a7d6c76a319437bd66a8536600bd0c 100644
(file)
--- a/
fs/btrfs/tree-log.c
+++ b/
fs/btrfs/tree-log.c
@@
-4647,7
+4647,6
@@
static int btrfs_log_inode(struct btrfs_trans_handle *trans,
struct btrfs_key min_key;
struct btrfs_key max_key;
struct btrfs_root *log = root->log_root;
- struct extent_buffer *src = NULL;
LIST_HEAD(logged_list);
u64 last_extent = 0;
int err = 0;
@@
-4890,7
+4889,6
@@
again:
goto next_slot;
}
- src = path->nodes[0];
if (ins_nr && ins_start_slot + ins_nr == path->slots[0]) {
ins_nr++;
goto next_slot;