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:
5701934
)
Btrfs: cleanup unused run_most
author
Liu Bo
<
[email protected]
>
Wed, 17 Dec 2014 08:14:09 +0000
(16:14 +0800)
committer
Chris Mason
<
[email protected]
>
Thu, 22 Jan 2015 02:22:16 +0000
(18:22 -0800)
"run_most" is not used anymore.
Signed-off-by: Liu Bo <
[email protected]
>
Reviewed-by: Satoru Takeuchi <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index 1d361ac9abc913ef29d4f085a9a7abb7c4f918c9..53294da0749d1a29d2490c06a1653aa187e42c3e 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-2769,7
+2769,6
@@
int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
struct btrfs_delayed_ref_head *head;
int ret;
int run_all = count == (unsigned long)-1;
- int run_most = 0;
/* We'll clean this up in btrfs_cleanup_transaction */
if (trans->aborted)
@@
-2779,10
+2778,8
@@
int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
root = root->fs_info->tree_root;
delayed_refs = &trans->transaction->delayed_refs;
- if (count == 0)
{
+ if (count == 0)
count = atomic_read(&delayed_refs->num_entries) * 2;
- run_most = 1;
- }
again:
#ifdef SCRAMBLE_DELAYED_REFS