Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: snapshot fix user message
@ 2024-03-19 14:11 Anand Jain
  2024-03-25 21:36 ` David Sterba
  0 siblings, 1 reply; 3+ messages in thread
From: Anand Jain @ 2024-03-19 14:11 UTC (permalink / raw)
  To: linux-btrfs; +Cc: wqu

The fstests depend on the output message of the create snapshot command,
and if it's changed, the tests fail. Bring back the original messages,
as they are also grammatically correct.

Fixes: 5f87b467a9e7 ("btrfs-progs: subvolume: output the prompt line only when the ioctl succeeded")
Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 cmds/subvolume.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmds/subvolume.c b/cmds/subvolume.c
index 11bb5f560ad5..6516ea981d4d 100644
--- a/cmds/subvolume.c
+++ b/cmds/subvolume.c
@@ -779,11 +779,11 @@ static int cmd_subvolume_snapshot(const struct cmd_struct *cmd, int argc, char *
 
 	if (readonly)
 		pr_verbose(LOG_DEFAULT,
-			   "Create readonly snapshot of '%s' in '%s/%s'\n",
+			   "Create a readonly snapshot of '%s' in '%s/%s'\n",
 			   subvol, dstdir, newname);
 	else
 		pr_verbose(LOG_DEFAULT,
-			   "Create snapshot of '%s' in '%s/%s'\n",
+			   "Create a snapshot of '%s' in '%s/%s'\n",
 			   subvol, dstdir, newname);
 
 out:
-- 
2.39.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-26  0:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-19 14:11 [PATCH] btrfs-progs: snapshot fix user message Anand Jain
2024-03-25 21:36 ` David Sterba
2024-03-26  0:41   ` Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox