From: Szabolcs Berecz <szabi@mplayerhq.hu>
To: <linux-kernel@vger.kernel.org>
Subject: [PATCH] radix_tree_extend()
Date: Sun, 9 Feb 2003 00:37:41 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.33.0302090033300.8676-100000@mail.mplayerhq.hu> (raw)
No need to check root->rnode in the loop. In the loop it remains nonzero.
Where should I send this patch?
Bye,
Szabi
--- linux-2.5.59/lib/radix-tree.c.orig Sat Jan 25 19:28:22 2003
+++ linux-2.5.59/lib/radix-tree.c Sat Feb 8 22:24:16 2003
@@ -154,8 +154,7 @@
/* Increase the height. */
node->slots[0] = root->rnode;
- if (root->rnode)
- node->count = 1;
+ node->count = 1;
root->rnode = node;
root->height++;
} while (height > root->height);
reply other threads:[~2003-02-08 23:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.33.0302090033300.8676-100000@mail.mplayerhq.hu \
--to=szabi@mplayerhq.hu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).