projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201e4ac
)
pstore/ram_core: Do not reset restored zone's position and size
author
Anton Vorontsov
<anton.vorontsov@linaro.org>
Sat, 26 May 2012 13:07:50 +0000
(06:07 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:52:39 +0000
(16:52 -0700)
Otherwise, the files will survive just one reboot, and on a subsequent
boot they will disappear.
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/pstore/ram_core.c
patch
|
blob
|
history
diff --git
a/fs/pstore/ram_core.c
b/fs/pstore/ram_core.c
index
235513c
..
f6650d1
100644
(file)
--- a/
fs/pstore/ram_core.c
+++ b/
fs/pstore/ram_core.c
@@
-406,6
+406,7
@@
static int __init persistent_ram_post_init(struct persistent_ram_zone *prz, bool
" size %zu, start %zu\n",
buffer_size(prz), buffer_start(prz));
persistent_ram_save_old(prz);
+ return 0;
}
} else {
pr_info("persistent_ram: no valid data in buffer"