diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2010-05-24 14:33:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:07:03 -0700 |
commit | d8521fcc5e0ad3e79bbc4231bb20a6cdc2b50164 (patch) | |
tree | 7469b407cb8a87d26733cea33a1570c2433e014b /fs/fat/misc.c | |
parent | fa1f68db6ca7ebb6fc4487ac215bffba06c01c28 (diff) | |
download | lwn-d8521fcc5e0ad3e79bbc4231bb20a6cdc2b50164.tar.gz lwn-d8521fcc5e0ad3e79bbc4231bb20a6cdc2b50164.zip |
printk_ratelimited(): fix uninitialized spinlock
ratelimit_state initialization of printk_ratelimited() seems broken. This
fixes it by using DEFINE_RATELIMIT_STATE() to initialize spinlock
properly.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/misc.c')
0 files changed, 0 insertions, 0 deletions