fs/pstore: update the backend parameter in pstore module
authorWang Long <long.wanglong@huawei.com>
Thu, 21 May 2015 16:34:22 +0000 (09:34 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 21 May 2015 16:34:22 +0000 (09:34 -0700)
commit42222c2a5d5da7fe4839491d5c44034f40761071
treedd45070e9edff633e6520f2acc835457882683dc
parentf0e2efcfd271733119cfe499f5811968544cbe7b
fs/pstore: update the backend parameter in pstore module

This patch update the module parameter backend, so it is visible
through /sys/module/pstore/parameters/backend.

For example:
if pstore backend is ramoops, with this patch:
# cat /sys/module/pstore/parameters/backend
ramoops
and without this patch:
# cat /sys/module/pstore/parameters/backend
(null)

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Acked-by: Mark Salyzyn <salyzyn@android.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/platform.c