aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pstore
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pstore')
-rw-r--r--fs/pstore/platform.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index 34ca3141eb0a..be4614f24a2f 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -41,10 +41,12 @@
41 * whether the system is actually still running well enough 41 * whether the system is actually still running well enough
42 * to let someone see the entry 42 * to let someone see the entry
43 */ 43 */
44static int pstore_update_ms = 60000; 44static int pstore_update_ms = -1;
45module_param_named(update_ms, pstore_update_ms, int, 0600); 45module_param_named(update_ms, pstore_update_ms, int, 0600);
46MODULE_PARM_DESC(update_ms, "milliseconds before pstore updates its content " 46MODULE_PARM_DESC(update_ms, "milliseconds before pstore updates its content "
47 "(default is 60000; -1 means runtime updates are disabled)"); 47 "(default is -1, which means runtime updates are disabled; "
48 "enabling this option is not safe, it may lead to further "
49 "corruption on Oopses)");
48 50
49static int pstore_new_entry; 51static int pstore_new_entry;
50 52