]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
pstore: fs superblock limits
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sun, 23 Jun 2019 23:00:01 +0000 (16:00 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:19 +0000 (04:26 -0400)
commita1efa9bb0da6e0310af9dbb3e829eca54c7dbc64
tree8ea1e909d5e2a4c7eca448a3693dfa816ef932b4
parentdc9a943d113251db60eee71f4304737767d84871
pstore: fs superblock limits

BugLink: https://bugs.launchpad.net/bugs/1848047
[ Upstream commit 83b8a3fbe3aa82ac3c253b698ae6a9be2dbdd5e0 ]

Leaving granularity at 1ns because it is dependent on the specific
attached backing pstore module. ramoops has microsecond resolution.

Fix the readback of ramoops fractional timestamp microseconds,
which has incorrectly been reporting the value as nanoseconds.

Fixes: 3f8f80f0cfeb ("pstore/ram: Read and write to the 'compressed' flag of pstore").
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Jeff Layton <jlayton@kernel.org>
Cc: anton@enomsg.org
Cc: ccross@android.com
Cc: keescook@chromium.org
Cc: tony.luck@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/pstore/ram.c