blob: 0a6904208d952253f315da60935be02c2f4fe3c0 [file] [log] [blame]
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06001From 580ef6cae2d353f3aa5d5c52d6614bdc1df50f08 Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Ross Burton <ross.burton@intel.com>
3Date: Mon, 23 Dec 2013 13:38:34 +0000
4Subject: [PATCH] e2fsprogs: silence debugfs
5
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006When executing a script don't echo every command, as we do this for entire
7filesystems at rootfs time.
8
9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
Andrew Geissler82c905d2020-04-13 13:39:40 -050012---
13 debugfs/debugfs.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060017index 9b6321dc..8ebf3ddb 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018--- a/debugfs/debugfs.c
19+++ b/debugfs/debugfs.c
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060020@@ -2516,7 +2516,7 @@ static int source_file(const char *cmd_file, int ss_idx)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021 cp = strchr(buf, '\r');
22 if (cp)
23 *cp = 0;
24- printf("debugfs: %s\n", buf);
25+ /*printf("debugfs: %s\n", buf);*/
26 retval = ss_execute_line(ss_idx, buf);
27 if (retval) {
28 ss_perror(ss_idx, retval, buf);