Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5891a9af authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ext4: limit the number of error prints"

parents 458bbce8 2c45229d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -437,12 +437,14 @@ void ext4_error_inode(struct inode *inode, const char *function,
	vaf.fmt = fmt;
	vaf.va = &args;
	if (block)
		printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: "
		printk_ratelimited(
			KERN_CRIT "EXT4-fs error (device %s): %s:%d: "
		       "inode #%lu: block %llu: comm %s: %pV\n",
		       inode->i_sb->s_id, function, line, inode->i_ino,
		       block, current->comm, &vaf);
	else
		printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: "
		printk_ratelimited(
			KERN_CRIT "EXT4-fs error (device %s): %s:%d: "
		       "inode #%lu: comm %s: %pV\n",
		       inode->i_sb->s_id, function, line, inode->i_ino,
		       current->comm, &vaf);