From: Qiujun Huang <hqjagain@gmail.com>
To: willy@infradead.org
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
Qiujun Huang <hqjagain@gmail.com>
Subject: [PATCH 2/2] radix-tree: fix a typo
Date: Sat, 14 Mar 2020 02:49:09 +0800 [thread overview]
Message-ID: <20200313184909.4560-3-hqjagain@gmail.com> (raw)
In-Reply-To: <20200313184909.4560-1-hqjagain@gmail.com>
"iff" -> "if"
Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
---
lib/radix-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index 379137875e25..0534823adf07 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -794,7 +794,7 @@ void *__radix_tree_lookup(const struct radix_tree_root *root,
* Returns: the slot corresponding to the position @index in the
* radix tree @root. This is useful for update-if-exists operations.
*
- * This function can be called under rcu_read_lock iff the slot is not
+ * This function can be called under rcu_read_lock if the slot is not
* modified by radix_tree_replace_slot, otherwise it must be called
* exclusive from other writers. Any dereference of the slot must be done
* using radix_tree_deref_slot.
--
2.17.1
next prev parent reply other threads:[~2020-03-13 18:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 18:49 [PATCH 0/2] radix-tree: fix some errors in comment Qiujun Huang
2020-03-13 18:49 ` [PATCH 1/2] radix-tree: fix kernel-doc for radix_tree_find_next_bit Qiujun Huang
2020-03-13 19:14 ` Matthew Wilcox
2020-03-13 23:18 ` Qiujun Huang
2020-03-13 18:49 ` Qiujun Huang [this message]
2020-03-13 19:12 ` [PATCH 2/2] radix-tree: fix a typo Matthew Wilcox
2020-03-13 23:16 ` Qiujun Huang
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=20200313184909.4560-3-hqjagain@gmail.com \
--to=hqjagain@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@infradead.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).