pstore/ram_core: Factor persistent_ram_zap() out of post_init()
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 26 May 2012 13:07:51 +0000 (06:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:52:40 +0000 (16:52 -0700)
commitfce397930475f7efc712a1345dc0dad269a10544
tree6e997211442c8c5ba3a34bb1fdc06bc06ba095f5
parent25b63da64708212985c06c7f8b089d356efdd9cf
pstore/ram_core: Factor persistent_ram_zap() out of post_init()

A handy function that we will use outside of ram_core soon. But
so far just factor it out and start using it in post_init().

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/pstore/ram_core.c
include/linux/pstore_ram.h