[PATCH] pstore: clarify clearing of _read_cnt in ramoops_context

2014-03-07 Thread Liu Shuo
On Fri 7.Mar'14 at 16:23:29 -0800, Kees Cook wrote: On Fri, Mar 7, 2014 at 1:25 PM, Andrew Morton wrote: On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX wrote: ftrace_read_cnt need to be reset in open to support mutli times getting the records. Signed-off-by: Liu ShuoX --- fs/pstore/ram.c

[PATCH] pstore: clarify clearing of _read_cnt in ramoops_context

2014-03-07 Thread Liu Shuo
On Fri 7.Mar'14 at 16:23:29 -0800, Kees Cook wrote: On Fri, Mar 7, 2014 at 1:25 PM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX shuox@intel.com wrote: ftrace_read_cnt need to be reset in open to support mutli times getting the records.