pstore: Correct the max_dump_cnt clearing of ramoops
authorLiu ShuoX <shuox.liu@intel.com>
Mon, 17 Mar 2014 21:07:00 +0000 (14:07 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 17 Mar 2014 21:14:03 +0000 (14:14 -0700)
In case that ramoops_init_przs failed, max_dump_cnt won't be reset to
zero in error handle path.

Signed-off-by: Liu ShuoX <shuox.liu@intel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>

No differences found