]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: gracefully handle NULL pstore_info functions
authorKees Cook <keescook@chromium.org>
Fri, 18 Nov 2011 21:49:00 +0000 (13:49 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 18 Nov 2011 21:49:00 +0000 (13:49 -0800)
commitf4dff8dea131e2982aea40e1812fcbdde029b4ab
treef9253298863844903b0ed76c7e9ae1f663b1a9d3
parenta66b7f1a650d12b9fffabb828ad4fa9b86d6856f
pstore: gracefully handle NULL pstore_info functions

If a pstore backend doesn't want to support various portions of the
pstore interface, it can just leave those functions NULL instead of
creating no-op stubs.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/inode.c
fs/pstore/platform.c