Skip to contentSkip to conversation

fs-fat-use-fat_msg-to-replace-printk-in-__fat_fs_error.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013 VFAT/FAT/msdos filesystem

lore
Share & tools
lore
#0 lore raw

Subject: [merged] fs-fat-use-fat_msg-to-replace-printk-in-__fat_fs_error.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:35:31 -0700

The patch titled
Subject: fs/fat: use fat_msg() to replace printk() in __fat_fs_error()
has been removed from the -mm tree. Its filename was
fs-fat-use-fat_msg-to-replace-printk-in-__fat_fs_error.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Gu Zheng <[email protected]>
Subject: fs/fat: use fat_msg() to replace printk() in __fat_fs_error()

---

 fs/fat/misc.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
fs/fat/misc.c renamed from fs/fat/misc.c~fs-fat-use-fat_msg-to-replace-printk-in-__fat_fs_error +2 -3
diff -puN fs/fat/misc.c~fs-fat-use-fat_msg-to-replace-printk-in-__fat_fs_error fs/fat/misc.c
@@ -30,7 +30,7 @@ void __fat_fs_error(struct super_block *
 		va_start(args, fmt);
 		vaf.fmt = fmt;
 		vaf.va = &args;
-		printk(KERN_ERR "FAT-fs (%s): error, %pV\n", sb->s_id, &vaf);
+		fat_msg(sb, KERN_ERR, "error, %pV", &vaf);
 		va_end(args);
 	}
 
@@ -38,8 +38,7 @@ void __fat_fs_error(struct super_block *
 		panic("FAT-fs (%s): fs panic from previous error\n", sb->s_id);
 	else if (opts->errors == FAT_ERRORS_RO && !(sb->s_flags & MS_RDONLY)) {
 		sb->s_flags |= MS_RDONLY;
-		printk(KERN_ERR "FAT-fs (%s): Filesystem has been "
-				"set read-only\n", sb->s_id);
+		fat_msg(sb, KERN_ERR, "Filesystem has been set read-only");
 	}
 }
 EXPORT_SYMBOL_GPL(__fat_fs_error);

_

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

origin.patch
linux-next.patch