pstore: Handle zero-sized prz in series
authorMark Salyzyn <salyzyn@android.com>
Tue, 13 Jan 2015 22:32:50 +0000 (14:32 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 16 Jan 2015 23:47:23 +0000 (15:47 -0800)
commitf44f96528a8cd4134a4f2c1a9d8c785600aa4888
treeb769fe914e0eab63f216244ec31ce9a95f974e07
parentff6bf6e8024f073ecea7dbf5c6afe6bd3872a569
pstore: Handle zero-sized prz in series

ramoops_pstore_read fails to return the next in a prz
series after first zero-sized entry, not venturing to
the next non-zero entry.

Signed-off-by: Mark Salyzyn <salyzyn@android.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/ram.c