[PATCH] fs/sysfs/dir.c : Fix typo in comment

Mukesh Ojha posted 1 patch 2 years, 2 months ago
fs/sysfs/dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] fs/sysfs/dir.c : Fix typo in comment
Posted by Mukesh Ojha 2 years, 2 months ago
Typo correction
kboject => kobject

Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
---
 fs/sysfs/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index b6b6796e1616..4df2afa551dc 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -81,7 +81,7 @@ void sysfs_remove_dir(struct kobject *kobj)
 	struct kernfs_node *kn = kobj->sd;
 
 	/*
-	 * In general, kboject owner is responsible for ensuring removal
+	 * In general, kobject owner is responsible for ensuring removal
 	 * doesn't race with other operations and sysfs doesn't provide any
 	 * protection; however, when @kobj is used as a symlink target, the
 	 * symlinking entity usually doesn't own @kobj and thus has no
-- 
2.7.4
Re: [PATCH] fs/sysfs/dir.c : Fix typo in comment
Posted by Mukesh Ojha 2 years ago
I know, this is very minor patch., floating this up again to see
incase we want to consider..

-Mukesh

On 10/30/2023 3:51 PM, Mukesh Ojha wrote:
> Typo correction
> kboject => kobject
> 
> Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
> ---
>   fs/sysfs/dir.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
> index b6b6796e1616..4df2afa551dc 100644
> --- a/fs/sysfs/dir.c
> +++ b/fs/sysfs/dir.c
> @@ -81,7 +81,7 @@ void sysfs_remove_dir(struct kobject *kobj)
>   	struct kernfs_node *kn = kobj->sd;
>   
>   	/*
> -	 * In general, kboject owner is responsible for ensuring removal
> +	 * In general, kobject owner is responsible for ensuring removal
>   	 * doesn't race with other operations and sysfs doesn't provide any
>   	 * protection; however, when @kobj is used as a symlink target, the
>   	 * symlinking entity usually doesn't own @kobj and thus has no