[PATCH] fs: Fix typo in access_override_creds()

From: gaoyusong
Date: Mon Oct 16 2023 - 07:14:18 EST


Fix typo in access_override_creds(), modify
non-RCY to non-RCU.

Signed-off-by: gaoyusong <a869920004@xxxxxxx>
---
fs/open.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/open.c b/fs/open.c
index 98f6601fbac6..72eb20a8256a 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -442,7 +442,7 @@ 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-RCU.
*/
override_cred->non_rcu = 1;

--
2.34.1