summaryrefslogtreecommitdiff
path: root/include/linux/magic.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2010-12-29 01:25:21 +0300
committerTony Luck <tony.luck@intel.com>2010-12-29 01:25:21 +0300
commitca01d6dd2d7a2652000307520777538740efc286 (patch)
treef419325637badb0ef7a3bfa29d520be2f5282220 /include/linux/magic.h
parent90a8a73c06cc32b609a880d48449d7083327e11a (diff)
downloadlinux-ca01d6dd2d7a2652000307520777538740efc286.tar.xz
pstore: new filesystem interface to platform persistent storage
Some platforms have a small amount of non-volatile storage that can be used to store information useful to diagnose the cause of a system crash. This is the generic part of a file system interface that presents information from the crash as a series of files in /dev/pstore. Once the information has been seen, the underlying storage is freed by deleting the files. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/linux/magic.h')
-rw-r--r--include/linux/magic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/magic.h b/include/linux/magic.h
index ff690d05f129..e87fd5ac3e5e 100644
--- a/include/linux/magic.h
+++ b/include/linux/magic.h
@@ -26,6 +26,7 @@
#define ISOFS_SUPER_MAGIC 0x9660
#define JFFS2_SUPER_MAGIC 0x72b6
#define ANON_INODE_FS_MAGIC 0x09041934
+#define PSTOREFS_MAGIC 0x6165676C
#define MINIX_SUPER_MAGIC 0x137F /* original minix fs */
#define MINIX_SUPER_MAGIC2 0x138F /* minix fs, 30 char names */