summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-17 14:16:29 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:23:42 +0200
commitc442793e6722158372d65388e2cdbd56170e7ad0 (patch)
treee34474cf0dc247330a87e59dfbbadacc3df3b7b5
parentf902bd3a5e19284698ce6d70209d316df15116c6 (diff)
downloadlinux-stable-c442793e6722158372d65388e2cdbd56170e7ad0.tar.gz
linux-stable-c442793e6722158372d65388e2cdbd56170e7ad0.tar.bz2
linux-stable-c442793e6722158372d65388e2cdbd56170e7ad0.zip
btrfs: Remove stale comment about select_delayed_ref
select_delayed_ref really just gets the next delayed ref which has to be processed - either an add ref or drop ref. We never go back for anything. So the comment is actually bogus, just remove it. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/extent-tree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index fa2ed14532c1..47edb3af3f9f 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -2705,10 +2705,6 @@ static noinline int __btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
spin_lock(&locked_ref->lock);
btrfs_merge_delayed_refs(trans, delayed_refs, locked_ref);
- /*
- * locked_ref is the head node, so we have to go one
- * node back for any delayed ref updates
- */
ref = select_delayed_ref(locked_ref);
if (ref && ref->seq &&