diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index de525ec0b490b2a9b4a0b3d907f1732074eea1af..791743deedf1b389177225a66d5a0967f2026b25 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -456,6 +456,12 @@ int pstore_register(struct pstore_info *psi) add_timer(&pstore_timer); } + /* + * Update the module parameter backend, so it is visible + * through /sys/module/pstore/parameters/backend + */ + backend = psi->name; + pr_info("Registered %s as persistent store backend\n", psi->name); return 0;