2023-10-27 15:21:43

by Ariel Miculas

[permalink] [raw]
Subject: [PATCH] docs: vfs: fix typo in struct xattr_handlers

The structure is called struct xattr_handler, singular, not plural.
Fixing the typo also makes it greppable with the whole word matching
flag.

Signed-off-by: Ariel Miculas <[email protected]>
---
Documentation/filesystems/vfs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
index 99acc2e98673..276a219ff8d9 100644
--- a/Documentation/filesystems/vfs.rst
+++ b/Documentation/filesystems/vfs.rst
@@ -437,7 +437,7 @@ field. This is a pointer to a "struct inode_operations" which describes
the methods that can be performed on individual inodes.


-struct xattr_handlers
+struct xattr_handler
---------------------

On filesystems that support extended attributes (xattrs), the s_xattr
--
2.42.0


2023-10-27 22:14:50

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] docs: vfs: fix typo in struct xattr_handlers



On 10/27/23 08:21, Ariel Miculas wrote:
> The structure is called struct xattr_handler, singular, not plural.
> Fixing the typo also makes it greppable with the whole word matching
> flag.
>
> Signed-off-by: Ariel Miculas <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> Documentation/filesystems/vfs.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
> index 99acc2e98673..276a219ff8d9 100644
> --- a/Documentation/filesystems/vfs.rst
> +++ b/Documentation/filesystems/vfs.rst
> @@ -437,7 +437,7 @@ field. This is a pointer to a "struct inode_operations" which describes
> the methods that can be performed on individual inodes.
>
>
> -struct xattr_handlers
> +struct xattr_handler
> ---------------------
>
> On filesystems that support extended attributes (xattrs), the s_xattr

--
~Randy

2023-11-17 15:43:36

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: vfs: fix typo in struct xattr_handlers

Ariel Miculas <[email protected]> writes:

> The structure is called struct xattr_handler, singular, not plural.
> Fixing the typo also makes it greppable with the whole word matching
> flag.
>
> Signed-off-by: Ariel Miculas <[email protected]>
> ---
> Documentation/filesystems/vfs.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
> index 99acc2e98673..276a219ff8d9 100644
> --- a/Documentation/filesystems/vfs.rst
> +++ b/Documentation/filesystems/vfs.rst
> @@ -437,7 +437,7 @@ field. This is a pointer to a "struct inode_operations" which describes
> the methods that can be performed on individual inodes.
>
>
> -struct xattr_handlers
> +struct xattr_handler
> ---------------------

Applied, thanks.

jon