]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: Use pr_notice_ratelimited() in journal_alloc_journal_head()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 17 Dec 2010 15:44:16 +0000 (10:44 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Dec 2010 15:44:16 +0000 (10:44 -0500)
commitbeabae2a8d1ad5d18a8721e07367339ed3099327
treee74adf62ba7d69540ddcb620cf45b6cf99cdedf8
parenta065bc3e5db8c0a33245a63d38917794141fb5bc
jbd2: Use pr_notice_ratelimited() in journal_alloc_journal_head()

We had an open-coded version of printk_ratelimited(); use the provided
abstraction to make the code cleaner and easier to understand.

Based on a similar patch for fs/jbd from Namhyung Kim <namhyung@gmail.com>

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/journal.c