projects
/
GitHub
/
moto-9609
/
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:
0ccd052
)
btrfs: Do not reassign count in btrfs_run_delayed_refs
author
Goldwyn Rodrigues
<rgoldwyn@suse.com>
Thu, 22 Sep 2016 19:11:47 +0000
(14:11 -0500)
committer
David Sterba
<dsterba@suse.com>
Mon, 26 Sep 2016 17:37:06 +0000
(19:37 +0200)
Code cleanup. count is already (unsgined long)-1. That is the reason
run_all was set. Do not reassign it (unsigned long)-1.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index e229d740bdfe32b159aad3582dbd71fee794fc5e..475962850a1f699ffc5c27c51b4234963045fbc2 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-2972,7
+2972,6
@@
again:
spin_unlock(&delayed_refs->lock);
goto out;
}
- count = (unsigned long)-1;
while (node) {
head = rb_entry(node, struct btrfs_delayed_ref_head,