2021-03-20 19:03:04

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] fs/namei.c: Mundane typo fix


s/carfully/carefully/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
fs/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/namei.c b/fs/namei.c
index 216f16e74351..bd0592000d87 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2045,7 +2045,7 @@ static inline unsigned int fold_hash(unsigned long x, unsigned long y)
#endif

/*
- * Return the hash of a string of known length. This is carfully
+ * Return the hash of a string of known length. This is carefully
* designed to match hash_name(), which is the more critical function.
* In particular, we must end by hashing a final word containing 0..7
* payload bytes, to match the way that hash_name() iterates until it
--
2.26.2


2021-03-20 19:17:28

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] fs/namei.c: Mundane typo fix



On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote:

>
> s/carfully/carefully/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

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


> ---
> fs/namei.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/namei.c b/fs/namei.c
> index 216f16e74351..bd0592000d87 100644
> --- a/fs/namei.c
> +++ b/fs/namei.c
> @@ -2045,7 +2045,7 @@ static inline unsigned int fold_hash(unsigned long x, unsigned long y)
> #endif
>
> /*
> - * Return the hash of a string of known length. This is carfully
> + * Return the hash of a string of known length. This is carefully
> * designed to match hash_name(), which is the more critical function.
> * In particular, we must end by hashing a final word containing 0..7
> * payload bytes, to match the way that hash_name() iterates until it
> --
> 2.26.2
>
>