[PATCH] FS: JFS: (trivial) Fix grammatical error in extAlloc

mirimmad@outlook.com posted 1 patch 2 years, 7 months ago
fs/jfs/jfs_extent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] FS: JFS: (trivial) Fix grammatical error in extAlloc
Posted by mirimmad@outlook.com 2 years, 7 months ago
From: Immad Mir <mirimmad17@gmail.com>

 There is a grammatical error in one the commnents
 in extAlloc function.

Signed-off-by: Immad Mir <mirimmad17@gmail.com>
---
 fs/jfs/jfs_extent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jfs/jfs_extent.c b/fs/jfs/jfs_extent.c
index ae99a7e23..399492308 100644
--- a/fs/jfs/jfs_extent.c
+++ b/fs/jfs/jfs_extent.c
@@ -166,7 +166,7 @@ extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr)
 	/*
 	 * COMMIT_SyncList flags an anonymous tlock on page that is on
 	 * sync list.
-	 * We need to commit the inode to get the page written disk.
+	 * We need to commit the inode to get the page written to the disk.
 	 */
 	if (test_and_clear_cflag(COMMIT_Synclist,ip))
 		jfs_commit_inode(ip, 0);
--
2.40.0
Re: [PATCH] FS: JFS: (trivial) Fix grammatical error in extAlloc
Posted by Immad Mir 2 years, 7 months ago
Hi, May I please request a review on this patch.


On 28/06/23 1:14 pm, mirimmad@outlook.com wrote:
> From: Immad Mir <mirimmad17@gmail.com>
>
>   There is a grammatical error in one the commnents
>   in extAlloc function.
>
> Signed-off-by: Immad Mir <mirimmad17@gmail.com>
> ---
>   fs/jfs/jfs_extent.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/jfs/jfs_extent.c b/fs/jfs/jfs_extent.c
> index ae99a7e23..399492308 100644
> --- a/fs/jfs/jfs_extent.c
> +++ b/fs/jfs/jfs_extent.c
> @@ -166,7 +166,7 @@ extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr)
>   	/*
>   	 * COMMIT_SyncList flags an anonymous tlock on page that is on
>   	 * sync list.
> -	 * We need to commit the inode to get the page written disk.
> +	 * We need to commit the inode to get the page written to the disk.
>   	 */
>   	if (test_and_clear_cflag(COMMIT_Synclist,ip))
>   		jfs_commit_inode(ip, 0);
> --
> 2.40.0
>
Re: [PATCH] FS: JFS: (trivial) Fix grammatical error in extAlloc
Posted by Dave Kleikamp 2 years, 6 months ago
On 6/28/23 2:44AM, mirimmad@outlook.com wrote:
> From: Immad Mir <mirimmad17@gmail.com>
> 
>   There is a grammatical error in one the commnents
>   in extAlloc function.
> 
> Signed-off-by: Immad Mir <mirimmad17@gmail.com>

Applied.

Thanks,
Shaggy

> ---
>   fs/jfs/jfs_extent.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/jfs/jfs_extent.c b/fs/jfs/jfs_extent.c
> index ae99a7e23..399492308 100644
> --- a/fs/jfs/jfs_extent.c
> +++ b/fs/jfs/jfs_extent.c
> @@ -166,7 +166,7 @@ extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr)
>   	/*
>   	 * COMMIT_SyncList flags an anonymous tlock on page that is on
>   	 * sync list.
> -	 * We need to commit the inode to get the page written disk.
> +	 * We need to commit the inode to get the page written to the disk.
>   	 */
>   	if (test_and_clear_cflag(COMMIT_Synclist,ip))
>   		jfs_commit_inode(ip, 0);
> --
> 2.40.0
>