pstore: Split pstore fragile flags
authorNamhyung Kim <[email protected]>
Wed, 27 Jul 2016 15:08:25 +0000 (00:08 +0900)
committerKees Cook <[email protected]>
Thu, 8 Sep 2016 22:01:08 +0000 (15:01 -0700)
commitc950fd6f201aea649932898206a850f0a7f25603
tree37fcfa59b06f9f398a156b7a556c6f61e94285ed
parentd5a9bf0b38d2ac85c9a693c7fb851f74fd2a2494
pstore: Split pstore fragile flags

This patch adds new PSTORE_FLAGS for each pstore type so that they can
be enabled separately.  This is a preparation for ongoing virtio-pstore
work to support those types flexibly.

The PSTORE_FLAGS_FRAGILE is changed to PSTORE_FLAGS_DMESG to preserve the
original behavior.

Cc: Anton Vorontsov <[email protected]>
Cc: Colin Cross <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Namhyung Kim <[email protected]>
[kees: retained "FRAGILE" for now to make merges easier]
Signed-off-by: Kees Cook <[email protected]>
drivers/acpi/apei/erst.c
drivers/firmware/efi/efi-pstore.c
fs/pstore/platform.c
fs/pstore/ram.c
include/linux/pstore.h