diff options
author | Liu ShuoX <shuox.liu@intel.com> | 2014-03-17 11:24:49 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-05 22:35:51 -0800 |
commit | 90ebdaa3d0ff2668a59dfebea2efee220d227e61 (patch) | |
tree | d0035ce9ae0eb0947fbaf6e8f5879f22c33cc6c6 /lib/cpu-notifier-error-inject.c | |
parent | 73e8cfe5a403444d87a46df56007bd676196356d (diff) |
pstore: clarify clearing of _read_cnt in ramoops_context
commit 57fd835385a043577457a385f28c08be693991bf upstream.
*_read_cnt in ramoops_context need to be cleared during pstore ->open to
support mutli times getting the records. The patch added missed
ftrace_read_cnt clearing and removed duplicate clearing in ramoops_probe.
Signed-off-by: Liu ShuoX <shuox.liu@intel.com>
Cc: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Cc: Colin Cross <ccross@android.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: HuKeping <hukeping@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions