Skip to contentSkip to conversation

fat-fix-too-many-log-in-fat_chain_add.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Aug 2, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: fat: fix too many log in fat_chain_add()
has been removed from the -mm tree. Its filename was
fat-fix-too-many-log-in-fat_chain_add.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: OGAWA Hirofumi <[email protected]>
Subject: fat: fix too many log in fat_chain_add()
Date: Thu, 24 Jul 2025 16:42:10 +0900

This log was excessive for a serial console. So use the ratelimited version instead.

---

 fs/fat/misc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/fat/misc.c renamed from fs/fat/misc.c~fat-fix-too-many-log-in-fat_chain_add +3 -3
@@ -158,9 +158,9 @@ int fat_chain_add(struct inode *inode, i
 			mark_inode_dirty(inode);
 	}
 	if (new_fclus != (inode->i_blocks >> (sbi->cluster_bits - 9))) {
-		fat_fs_error(sb, "clusters badly computed (%d != %llu)",
-			     new_fclus,
-			     (llu)(inode->i_blocks >> (sbi->cluster_bits - 9)));
+		fat_fs_error_ratelimit(
+			sb, "clusters badly computed (%d != %llu)", new_fclus,
+			(llu)(inode->i_blocks >> (sbi->cluster_bits - 9)));
 		fat_cache_inval_inode(inode);
 	}
 	inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9);

_

Patches currently in -mm which might be from [email protected] are