fs: Fix typo in access_override_creds()
PATCH RESEND 1/1 fs: Fix typo in access_override_creds()
From: Yusong Gao <[email protected]>
Fix typo in access_override_creds(), modify non-RCY to non-RCU.
--- fs/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/open.c +1 -1
@@ -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 ;
Signature · 1 line
2.34.1
Christian Brauner
maintainerQuoted 14 lines · gaoyusong
From: Yusong Gao <[email protected]>
Fix typo in
access_override_creds(), modify non-RCY to non-RCU.Signed-off-by gaoyusong <[email protected]>--- fs/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/open.c +0
-0
fs/open.c static const struct cred *access_override_creds(void) · line 445
Quoted 5 lines
fs/open.c +1
-1@@ -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.
I think this might have been intended as a joke aka "non-RCY" as in "non-racy" here. I think best would be to change it to something like "cred accesses will keep things non-racy and allows to avoid rcu freeing" if you care enough.
Quoted 10 lines · Christian Brauner
Quoted 9 lines · gaoyusong
From: Yusong Gao <[email protected]>
Fix typo in
access_override_creds(), modify non-RCY to non-RCU.Signed-off-by gaoyusong <[email protected]>--- fs/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
fs/open.c static const struct cred *access_override_creds(void) · line 445
Quoted 10 lines
fs/open.c +1
-1@@ -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. I think this might have been intended as a joke aka "non-RCY" as in "non-racy" here. I think best would be to change it to something like "cred accesses will keep things non-racy and allows to avoid rcu freeing" if you care enough.
I see what you mean. Thanks for your reply. I don't think any more changes are needed when I figure out it.