2020-06-07 21:23:36

by Keyur Patel

[permalink] [raw]
Subject: [PATCH] fs: ocfs2: fix spelling mistake

./ocfs2/mmap.c:65: bebongs ==> belongs

Signed-off-by: Keyur Patel <[email protected]>
---
fs/ocfs2/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
index 3a44e461828a..39a77e903fdf 100644
--- a/fs/ocfs2/mmap.c
+++ b/fs/ocfs2/mmap.c
@@ -62,7 +62,7 @@ static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
last_index = (size - 1) >> PAGE_SHIFT;

/*
- * There are cases that lead to the page no longer bebongs to the
+ * There are cases that lead to the page no longer belongs to the
* mapping.
* 1) pagecache truncates locally due to memory pressure.
* 2) pagecache truncates when another is taking EX lock against
--
2.26.2


2020-06-07 21:53:31

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] fs: ocfs2: fix spelling mistake

On 6/7/20 2:21 PM, Keyur Patel wrote:
> ./ocfs2/mmap.c:65: bebongs ==> belongs
>
> Signed-off-by: Keyur Patel <[email protected]>
> ---
> fs/ocfs2/mmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
> index 3a44e461828a..39a77e903fdf 100644
> --- a/fs/ocfs2/mmap.c
> +++ b/fs/ocfs2/mmap.c
> @@ -62,7 +62,7 @@ static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
> last_index = (size - 1) >> PAGE_SHIFT;
>
> /*
> - * There are cases that lead to the page no longer bebongs to the
> + * There are cases that lead to the page no longer belongs to the

I would say no longer belonging to the

> * mapping.
> * 1) pagecache truncates locally due to memory pressure.
> * 2) pagecache truncates when another is taking EX lock against
>

Please fix your To: line:

(no To-header on input) <>

--
~Randy

2020-06-07 22:12:03

by Keyur Patel

[permalink] [raw]
Subject: [PATCH v2] fs: ocfs2: fix spelling mistake and grammar

./ocfs2/mmap.c:65: bebongs ==> belongs

Signed-off-by: Keyur Patel <[email protected]>
---
fs/ocfs2/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
index 3a44e461828a..39a77e903fdf 100644
--- a/fs/ocfs2/mmap.c
+++ b/fs/ocfs2/mmap.c
@@ -62,7 +62,7 @@ static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
last_index = (size - 1) >> PAGE_SHIFT;

/*
- * There are cases that lead to the page no longer bebongs to the
+ * There are cases that lead to the page no longer belonging to the
* mapping.
* 1) pagecache truncates locally due to memory pressure.
* 2) pagecache truncates when another is taking EX lock against
--
2.26.2

2020-06-08 01:49:23

by Joseph Qi

[permalink] [raw]
Subject: Re: [PATCH v2] fs: ocfs2: fix spelling mistake and grammar



On 2020/6/8 06:07, Keyur Patel wrote:
> ./ocfs2/mmap.c:65: bebongs ==> belongs
>
This should be updated with your new change.

Thanks,
Joseph

> Signed-off-by: Keyur Patel <[email protected]>
> ---
> fs/ocfs2/mmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
> index 3a44e461828a..39a77e903fdf 100644
> --- a/fs/ocfs2/mmap.c
> +++ b/fs/ocfs2/mmap.c
> @@ -62,7 +62,7 @@ static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
> last_index = (size - 1) >> PAGE_SHIFT;
>
> /*
> - * There are cases that lead to the page no longer bebongs to the
> + * There are cases that lead to the page no longer belonging to the
> * mapping.
> * 1) pagecache truncates locally due to memory pressure.
> * 2) pagecache truncates when another is taking EX lock against
>

2020-06-08 01:50:53

by Keyur Patel

[permalink] [raw]
Subject: [PATCH v3] fs: ocfs2: fix spelling mistake and grammar

./ocfs2/mmap.c:65: bebongs ==> belonging

Signed-off-by: Keyur Patel <[email protected]>
---
fs/ocfs2/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
index 3a44e461828a..39a77e903fdf 100644
--- a/fs/ocfs2/mmap.c
+++ b/fs/ocfs2/mmap.c
@@ -62,7 +62,7 @@ static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
last_index = (size - 1) >> PAGE_SHIFT;

/*
- * There are cases that lead to the page no longer bebongs to the
+ * There are cases that lead to the page no longer belonging to the
* mapping.
* 1) pagecache truncates locally due to memory pressure.
* 2) pagecache truncates when another is taking EX lock against
--
2.26.2

2020-06-08 01:58:06

by Joseph Qi

[permalink] [raw]
Subject: Re: [PATCH v3] fs: ocfs2: fix spelling mistake and grammar



On 2020/6/8 09:48, Keyur Patel wrote:
> ./ocfs2/mmap.c:65: bebongs ==> belonging
>
> Signed-off-by: Keyur Patel <[email protected]>

Reviewed-by: Joseph Qi <[email protected]>
> ---
> fs/ocfs2/mmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/mmap.c
> index 3a44e461828a..39a77e903fdf 100644
> --- a/fs/ocfs2/mmap.c
> +++ b/fs/ocfs2/mmap.c
> @@ -62,7 +62,7 @@ static vm_fault_t __ocfs2_page_mkwrite(struct file *file,
> last_index = (size - 1) >> PAGE_SHIFT;
>
> /*
> - * There are cases that lead to the page no longer bebongs to the
> + * There are cases that lead to the page no longer belonging to the
> * mapping.
> * 1) pagecache truncates locally due to memory pressure.
> * 2) pagecache truncates when another is taking EX lock against
>