From: OGAWA Hirofumi Date: Mon, 24 May 2010 21:33:11 +0000 (-0700) Subject: ratelimit: add ratelimit_state_init() X-Git-Tag: v2.6.35-rc1~332 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40c396a9ab04eae526990e2b2cef875b424ed4e;p=pandora-kernel.git ratelimit: add ratelimit_state_init() For now, all users of ratelimit_state allocates it statically, so DEFINE_RATELIMIT_STATE() is enough. But, I want to use ratelimit_state for fs, i.e. per super_block to suppress too many error reports. So, this adds ratelimit_state_init() to initialize ratelimite_state which is dynamically allocated, instead of opencoding. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed