Skip to contentSkip to conversation

xfs: fix the "limiting open zones" message

PATCH Applied Christoph Hellwig 3 participants 4 messages May 7 – May 12 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: fix the "limiting open zones" message

The xfs logging macros include a newline, remove the \n, which adds an extra one.

---
 fs/xfs/xfs_zone_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_zone_alloc.c +1 -1
index a851b98143c0..e79f9e652dbb 100644
@@ -1170,7 +1170,7 @@ xfs_calc_open_zones(
 
 	if (bdev_open_zones && bdev_open_zones < mp->m_max_open_zones) {
 		mp->m_max_open_zones = bdev_open_zones;
-		xfs_info(mp, "limiting open zones to %u due to hardware limit.\n",
+		xfs_info(mp, "limiting open zones to %u due to hardware limit.",
 			bdev_open_zones);
 	}
 
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Christoph Hellwig
Quoted 13 lines · Christoph Hellwig

The xfs logging macros include a newline, remove the \n, which adds an extra one.

---
 fs/xfs/xfs_zone_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_zone_alloc.c +0 -0
index a851b98143c0..e79f9e652dbb 100644

fs/xfs/xfs_zone_alloc.c xfs_calc_open_zones( · line 1175

Quoted 7 lines
fs/xfs/xfs_zone_alloc.c +1 -1
@@ -1170,7 +1170,7 @@ xfs_calc_open_zones(
 
 	if (bdev_open_zones && bdev_open_zones < mp->m_max_open_zones) {
 		mp->m_max_open_zones = bdev_open_zones;
-		xfs_info(mp, "limiting open zones to %u due to hardware limit.\n",
+		xfs_info(mp, "limiting open zones to %u due to hardware limit.",
 			bdev_open_zones);
 	}
Quoted 4 lines
fs/xfs/xfs_zone_alloc.c +0 -1
--

2.53.0

maintainer Applied
#3 lore raw
In reply to Christoph Hellwig
Quoted 4 lines · Christoph Hellwig

The xfs logging macros include a newline, remove the \n, which adds an extra one.

Applied to for-next, thanks!

[1/1] xfs: fix the "limiting open zones" message

      commit: 5082d8835070fe63f3c61fe574cbb5319bd94575

Best regards,

Signature · 1 line
Carlos Maiolino <[email protected]>