[PATCH] xfs: Fix typo in comment

Md Shofiqul Islam posted 1 patch 1 month, 1 week ago
There is a newer version of this series
fs/xfs/xfs_notify_failure.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xfs: Fix typo in comment
Posted by Md Shofiqul Islam 1 month, 1 week ago
Fix spelling mistake in comment:
 - occured -> occurred
---
 fs/xfs/xfs_notify_failure.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_notify_failure.c b/fs/xfs/xfs_notify_failure.c
index 64c8afb93..b994ff15d 100644
--- a/fs/xfs/xfs_notify_failure.c
+++ b/fs/xfs/xfs_notify_failure.c
@@ -350,7 +350,7 @@ xfs_dax_notify_dev_failure(
 	/*
 	 * Shutdown fs from a force umount in pre-remove case which won't fail,
 	 * so errors can be ignored.  Otherwise, shutdown the filesystem with
-	 * CORRUPT flag if error occured or notify.want_shutdown was set during
+	 * CORRUPT flag if error occurred or notify.want_shutdown was set during
 	 * RMAP querying.
 	 */
 	if (mf_flags & MF_MEM_PRE_REMOVE)
-- 
2.51.1
Re: [PATCH] xfs: Fix typo in comment
Posted by Darrick J. Wong 1 month, 1 week ago
On Wed, May 06, 2026 at 01:50:44AM +0300, Md Shofiqul Islam wrote:
> Fix spelling mistake in comment:
>  - occured -> occurred
> ---
>  fs/xfs/xfs_notify_failure.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_notify_failure.c b/fs/xfs/xfs_notify_failure.c
> index 64c8afb93..b994ff15d 100644
> --- a/fs/xfs/xfs_notify_failure.c
> +++ b/fs/xfs/xfs_notify_failure.c
> @@ -350,7 +350,7 @@ xfs_dax_notify_dev_failure(
>  	/*
>  	 * Shutdown fs from a force umount in pre-remove case which won't fail,
>  	 * so errors can be ignored.  Otherwise, shutdown the filesystem with
> -	 * CORRUPT flag if error occured or notify.want_shutdown was set during
> +	 * CORRUPT flag if error occurred or notify.want_shutdown was set during

It occured to me that although this is a small change, it is technically
correct. ;)

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

>  	 * RMAP querying.
>  	 */
>  	if (mf_flags & MF_MEM_PRE_REMOVE)
> -- 
> 2.51.1
> 
>