pstore/ram: Should zap persistent zone on unlink
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 26 May 2012 13:07:52 +0000 (06:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:52:40 +0000 (16:52 -0700)
commit93cce049682a1aebd49766f29af363e5b8770aed
treee038a733f555688446397020b6ee44cbc0d9b4d5
parentfce397930475f7efc712a1345dc0dad269a10544
pstore/ram: Should zap persistent zone on unlink

Otherwise, unlinked file will reappear on the next boot.

Reported-by: Kees Cook <keescook@chromium.org>
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.c