Subject: [to-be-updated] pstore-reset-ftrace_read_cnt-at-ramoops_pstore_open.patch removed from -mm tree To: shuox.liu@xxxxxxxxx,ccross@xxxxxxxxxxx,keescook@xxxxxxxxxxxx,tony.luck@xxxxxxxxx,yanmin_zhang@xxxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 10 Mar 2014 11:59:28 -0700 The patch titled Subject: pstore: reset ftrace_read_cnt at ramoops_pstore_open has been removed from the -mm tree. Its filename was pstore-reset-ftrace_read_cnt-at-ramoops_pstore_open.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Liu ShuoX <shuox.liu@xxxxxxxxx> Subject: pstore: reset ftrace_read_cnt at ramoops_pstore_open ftrace_read_cnt must be reset in open to support getting the records multiple times. Signed-off-by: Liu ShuoX <shuox.liu@xxxxxxxxx> Cc: "Zhang, Yanmin" <yanmin_zhang@xxxxxxxxxxxxxxx> Cc: Colin Cross <ccross@xxxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Cc: "Luck, Tony" <tony.luck@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/pstore/ram.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/pstore/ram.c~pstore-reset-ftrace_read_cnt-at-ramoops_pstore_open fs/pstore/ram.c --- a/fs/pstore/ram.c~pstore-reset-ftrace_read_cnt-at-ramoops_pstore_open +++ a/fs/pstore/ram.c @@ -101,6 +101,7 @@ static int ramoops_pstore_open(struct ps cxt->dump_read_cnt = 0; cxt->console_read_cnt = 0; + cxt->ftrace_read_cnt = 0; return 0; } _ Patches currently in -mm which might be from shuox.liu@xxxxxxxxx are pstore-clarify-clearing-of-_read_cnt-in-ramoops_context.patch pstore-skip-zero-size-persistent-ram-buffer-in-traverse.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html