2022-11-10 09:15:31

by Yu Zhe

[permalink] [raw]
Subject: [PATCH] fs/ntfs3: fix spelling mistake "attibute" -> "attribute"

There is a spelling mistake in comment. Fix it.

Signed-off-by: Yu Zhe <[email protected]>
---
fs/ntfs3/xattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ntfs3/xattr.c b/fs/ntfs3/xattr.c
index 7de8718c68a9..1ce8c0957621 100644
--- a/fs/ntfs3/xattr.c
+++ b/fs/ntfs3/xattr.c
@@ -376,7 +376,7 @@ static noinline int ntfs_set_ea(struct inode *inode, const char *name,

/*
* 1. Check ea_info.size_pack for overflow.
- * 2. New attibute size must fit value from $AttrDef
+ * 2. New attribute size must fit value from $AttrDef
*/
if (new_pack > 0xffff || size > sbi->ea_max_size) {
ntfs_inode_warn(
--
2.11.0



2022-12-30 08:18:40

by Konstantin Komarov

[permalink] [raw]
Subject: Re: [PATCH] fs/ntfs3: fix spelling mistake "attibute" -> "attribute"

On 10.11.2022 11:46, Yu Zhe wrote:
> There is a spelling mistake in comment. Fix it.
>
> Signed-off-by: Yu Zhe <[email protected]>
> ---
> fs/ntfs3/xattr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ntfs3/xattr.c b/fs/ntfs3/xattr.c
> index 7de8718c68a9..1ce8c0957621 100644
> --- a/fs/ntfs3/xattr.c
> +++ b/fs/ntfs3/xattr.c
> @@ -376,7 +376,7 @@ static noinline int ntfs_set_ea(struct inode *inode, const char *name,
>
> /*
> * 1. Check ea_info.size_pack for overflow.
> - * 2. New attibute size must fit value from $AttrDef
> + * 2. New attribute size must fit value from $AttrDef
> */
> if (new_pack > 0xffff || size > sbi->ea_max_size) {
> ntfs_inode_warn(
Applied, thanks!