tmp_suning_uos_patched/fs/pstore
Anton Vorontsov 755d66b48f pstore/ram: Factor ramoops_get_next_prz() out of ramoops_pstore_read()
This will help make code clearer when we'll add support for other
message types.

The patch also changes return value from -EINVAL to 0 in case of
end-of-records. The exact value doesn't matter for pstore (it should
be just <= 0), but 0 feels more correct.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-13 16:59:28 -07:00
..
inode.c pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
internal.h pstore: defer inserting OOPS entries into pstore 2011-08-16 11:53:01 -07:00
Kconfig pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
Makefile staging: android: persistent_ram: Move to fs/pstore/ram_core.c 2012-05-17 08:50:00 -07:00
platform.c pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
ram_core.c pstore/ram_core: Factor persistent_ram_zap() out of post_init() 2012-06-13 16:52:40 -07:00
ram.c pstore/ram: Factor ramoops_get_next_prz() out of ramoops_pstore_read() 2012-06-13 16:59:28 -07:00