aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2023-10-31 18:47:28 +0700
committerChristian Brauner <brauner@kernel.org>2023-11-18 15:00:01 +0100
commitd218569004b6f8242d176aad250ed66becc80cae (patch)
tree9aad833d93cc87c5c0cfeb0794ee54b9d8fbdf0a /fs/open.c
parent297945d9bc13a10e2ce39f0a3aad38c6812435a5 (diff)
downloadlinux-d218569004b6f8242d176aad250ed66becc80cae.tar.gz
fs: Clarify "non-RCY" in access_override_creds() comment
The term is originally intended as a joke that stands for "non-racy". This trips new contributors who mistake it for RCU typo [1]. Replace the term with more-explicit wording. Link: https://lore.kernel.org/r/20231030-debatten-nachrangig-f58abcdac530@brauner/ Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Link: https://lore.kernel.org/r/20231031114728.41485-1-bagasdotme@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index 02dc608d40d81..0bd7fce21cbfc 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -442,7 +442,8 @@ static const struct cred *access_override_creds(void)
* 'get_current_cred()' function), that will clear the
* non_rcu field, because now that other user may be
* expecting RCU freeing. But normal thread-synchronous
- * cred accesses will keep things non-RCY.
+ * cred accesses will keep things non-racy to avoid RCU
+ * freeing.
*/
override_cred->non_rcu = 1;