Re: [PATCH] xfs: Fix typo in comment

Darrick J. Wong
2026-05-05T23:04:47Z

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
>
>