[PATCH] xfs: Simplify data output in xfs_zoned_show_stats()

Markus Elfring <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
From: Markus Elfring <[email protected]>
Date: Thu, 4 Jun 2026 11:16:01 +0200

Move the specification for a line break from a seq_puts() call
to a seq_printf() call.

The source code was transformed by using the Coccinelle software.

Signed-off-by: Markus Elfring <[email protected]>
---
 fs/xfs/xfs_zone_info.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/fs/xfs/xfs_zone_info.c b/fs/xfs/xfs_zone_info.c
index 47b475e21af8..57e3acabeee4 100644
--- a/fs/xfs/xfs_zone_info.c
+++ b/fs/xfs/xfs_zone_info.c
@@ -75,10 +75,8 @@ xfs_zoned_show_stats(
 	struct xfs_zone_info	*zi = mp->m_zone_info;
 	struct xfs_open_zone	*oz;
 
-	seq_puts(m, "\n");
-
-	seq_printf(m, "\tuser free RT blocks: %lld\n",
-		xfs_sum_freecounter(mp, XC_FREE_RTEXTENTS));
+	seq_printf(m, "\n\tuser free RT blocks: %lld\n",
+		   xfs_sum_freecounter(mp, XC_FREE_RTEXTENTS));
 	seq_printf(m, "\treserved free RT blocks: %lld\n",
 		mp->m_free[XC_FREE_RTEXTENTS].res_avail);
 	seq_printf(m, "\tuser available RT blocks: %lld\n",
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.