Message ID | 1338037673-19909-4-git-send-email-anton.vorontsov@linaro.org |
---|---|
State | Accepted |
Commit | 93cce049682a1aebd49766f29af363e5b8770aed |
Headers | show |
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 16ff733..453030f 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -186,6 +186,7 @@ static int ramoops_pstore_erase(enum pstore_type_id type, u64 id, return -EINVAL; persistent_ram_free_old(cxt->przs[id]); + persistent_ram_zap(cxt->przs[id]); return 0; }