2023-10-30 10:24:27

by Mukesh Ojha

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

Typo correction
kboject => kobject

Signed-off-by: Mukesh Ojha <[email protected]>
---
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


2023-12-05 11:38:51

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] fs/sysfs/dir.c : Fix typo in comment

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 <[email protected]>
> ---
> 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