debug: do not print old_size when ftrace_size is 0 [1/1]
authorJianxin Pan <jianxin.pan@amlogic.com>
Tue, 14 May 2019 06:00:03 +0000 (14:00 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 14 May 2019 06:45:38 +0000 (23:45 -0700)
commit59ab3a0599525ce86d4d7b70d0b3279f802edfb6
tree2ca6cb6dc52a4a97d6ed392bf6319a388b93f516
parent75a8a664e948256d5fec550bfc412b4b61d9f747
debug: do not print old_size when ftrace_size is 0 [1/1]

PD#SWPL-6028

Problem:
do not print old_size when ftrace_size is 0

Solution:
do not print old_size when ftrace_size is 0

Verify:
TL1 x301

Change-Id: I00a71c83fede14a2606c5e7eea5d8c4fdaeb5553
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
fs/pstore/ram.c