From 3e4c118c2310bc921154dd5768b8de680efa3152 Mon Sep 17 00:00:00 2001
From: Matteo Paramatti <paramattimatteo@gmail.com>
Date: Mon, 6 May 2024 12:48:12 +0100
Subject: [PATCH] Fix typo in nocow option description

---
 bcachefs.8         | 4 ++--
 libbcachefs/opts.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bcachefs.8 b/bcachefs.8
index 8ff51a7d..6e90573c 100644
--- a/bcachefs.8
+++ b/bcachefs.8
@@ -193,7 +193,7 @@ Log transaction function names in journal
 .It Fl -nocow
 Nocow mode: Writes will be done in place when possible.
 .sp
-Snapshots and reflink will still caused writes to be COW.
+Snapshots and reflink will still cause writes to be COW.
 .sp
 This flag implicitly disables data checksumming, compression and
 encryption.
@@ -357,7 +357,7 @@ to be used
 .It Fl -nocow
 Nocow mode: Writes will be done in place when possible.
 .sp
-Snapshots and reflink will still caused writes to be COW.
+Snapshots and reflink will still cause writes to be COW.
 .sp
 This flag implicitly disables data checksumming, compression and
 encryption.
diff --git a/libbcachefs/opts.h b/libbcachefs/opts.h
index 84e45283..a3769240 100644
--- a/libbcachefs/opts.h
+++ b/libbcachefs/opts.h
@@ -446,7 +446,7 @@ enum fsck_err_opts {
 	  OPT_BOOL(),							\
 	  BCH_SB_NOCOW,			false,				\
 	  NULL,		"Nocow mode: Writes will be done in place when possible.\n"\
-			"Snapshots and reflink will still caused writes to be COW\n"\
+			"Snapshots and reflink will still cause writes to be COW\n"\
 			"Implicitly disables data checksumming, compression and encryption")\
 	x(nocow_enabled,		u8,				\
 	  OPT_FS|OPT_MOUNT,						\