]> git.baikalelectronics.ru Git - kernel.git/commit
dm: use local printk ratelimit
authorNamhyung Kim <namhyung@gmail.com>
Mon, 31 Oct 2011 20:18:54 +0000 (20:18 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 31 Oct 2011 20:18:54 +0000 (20:18 +0000)
commit2669076613efbee404aa55d6400e190b33517a00
tree1c6c54e8229b422756ec775cc04ad0066d1ad0c8
parent03b69f7754784941aa156bbc78547c062cf94c43
dm: use local printk ratelimit

printk_ratelimit() shares global ratelimiting state with all
other subsystems, so its usage is discouraged. Instead,
define and use dm's local state.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h