]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerBrian Maly <brian.maly@oracle.com>
Mon, 4 Jun 2018 18:05:32 +0000 (14:05 -0400)
commit02ab196b7867c3a1f0e99c26ffb49985eb39b8f3
treec87f3dcaa35006537e9c28aa357784c1e7651ce8
parente8a9aeda5c22e0f8df84ba215701e7741e9fd3b4
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>
(cherry picked from commit 42222c2a5d5da7fe4839491d5c44034f40761071)
Orabug: 27994372
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
fs/pstore/platform.c