All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] fat-add-fat_msg_ratelimit.patch removed from -mm tree
@ 2012-06-01 19:33 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2012-06-01 19:33 UTC (permalink / raw)
  To: linkinjeon, amit.sahrawat83, hirofumi, mm-commits


The patch titled
     Subject: fat: add fat_msg_ratelimit()
has been removed from the -mm tree.  Its filename was
     fat-add-fat_msg_ratelimit.patch

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

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
From: Namjae Jeon <linkinjeon@gmail.com>
Subject: fat: add fat_msg_ratelimit()

Add a fat_msg_ratelimit() to limit the message generation rate.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Amit Sahrawat <amit.sahrawat83@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/fat/fat.h |    5 +++++
 1 file changed, 5 insertions(+)

diff -puN fs/fat/fat.h~fat-add-fat_msg_ratelimit fs/fat/fat.h
--- a/fs/fat/fat.h~fat-add-fat_msg_ratelimit
+++ a/fs/fat/fat.h
@@ -335,6 +335,11 @@ void __fat_fs_error(struct super_block *
 	__fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args)
 __printf(3, 4) __cold
 void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...);
+#define fat_msg_ratelimit(sb, level, fmt, args...)	\
+	do {	\
+			if (__ratelimit(&MSDOS_SB(sb)->ratelimit))	\
+				fat_msg(sb, level, fmt, ## args);	\
+	 } while (0)
 extern int fat_clusters_flush(struct super_block *sb);
 extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);
 extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts,
_

Patches currently in -mm which might be from linkinjeon@gmail.com are

origin.patch
drivers-scsi-ufs-reverse-the-ufshcd_is_device_present-logic.patch
ufs-fix-incorrect-return-value-about-success-and-failed.patch
fat-use-fat_msg_ratelimit-in-fat__get_entry.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-01 19:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-01 19:33 [merged] fat-add-fat_msg_ratelimit.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.