Skip to contentSkip to conversation

xfs: Fix typo in comment

PATCH Superseded Md Shofiqul Islam 2 participants 2 messages May 5 XFS filesystem

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: Fix typo in comment

Fix spelling mistake in comment:
- occured -> occurred

---
 fs/xfs/xfs_notify_failure.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_notify_failure.c +1 -1
index 64c8afb93..b994ff15d 100644
@@ -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)
Signature · 1 line
2.51.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Md Shofiqul Islam

Fix spelling mistake in comment:
- occured -> occurred

---
 fs/xfs/xfs_notify_failure.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_notify_failure.c +0 -0
index 64c8afb93..b994ff15d 100644

fs/xfs/xfs_notify_failure.c xfs_dax_notify_dev_failure( · line 353

Quoted 5 lines
fs/xfs/xfs_notify_failure.c +1 -1
@@ -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. ;)

--D

Quoted 7 lines
fs/xfs/xfs_notify_failure.c +0 -0
 	 * RMAP querying.
 	 */
 	if (mf_flags & MF_MEM_PRE_REMOVE)
Signature · 1 line
2.51.1