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)
commit670be5a78ac7c80f0d6009d648c84c65a03f373a
treee74adf62ba7d69540ddcb620cf45b6cf99cdedf8
parenta8901d34872dafcafa23efa0865dcecfd4fddf8c
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