summaryrefslogtreecommitdiffstats
path: root/fs/pstore/inode.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-05-05 21:36:15 -0700
committerKees Cook <keescook@chromium.org>2020-05-30 10:34:02 -0700
commit78c83c828c043f2e18929137c1e218e8977349b1 (patch)
tree216de382f5364dbb88e1691c2317346f44413ea2 /fs/pstore/inode.c
parent27e5041a87e8af2d0b6452dffe053d0253e914cc (diff)
downloadlinux-stable-78c83c828c043f2e18929137c1e218e8977349b1.tar.gz
linux-stable-78c83c828c043f2e18929137c1e218e8977349b1.tar.bz2
linux-stable-78c83c828c043f2e18929137c1e218e8977349b1.zip
pstore: Do not leave timer disabled for next backend
The pstore.update_ms value was being disabled during pstore_unregister(), which would cause any prior value to go unnoticed on the next pstore_register(). Instead, just let del_timer() stop the timer, which was always sufficient. This additionally refactors the timer reset code and allows the timer to be enabled if the module parameter is changed away from the default. Link: https://lore.kernel.org/lkml/20200506152114.50375-10-keescook@chromium.org/ Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/inode.c')
0 files changed, 0 insertions, 0 deletions