aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/firmware/efivars.c2
-rw-r--r--include/uapi/linux/magic.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index 2c044343c99b..3b0cf9acb504 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -991,7 +991,7 @@ int efivarfs_fill_super(struct super_block *sb, void *data, int silent)
991 sb->s_maxbytes = MAX_LFS_FILESIZE; 991 sb->s_maxbytes = MAX_LFS_FILESIZE;
992 sb->s_blocksize = PAGE_CACHE_SIZE; 992 sb->s_blocksize = PAGE_CACHE_SIZE;
993 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; 993 sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
994 sb->s_magic = PSTOREFS_MAGIC; 994 sb->s_magic = EFIVARFS_MAGIC;
995 sb->s_op = &efivarfs_ops; 995 sb->s_op = &efivarfs_ops;
996 sb->s_time_gran = 1; 996 sb->s_time_gran = 1;
997 997
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index e15192cb9cf4..12f68c7ceba6 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -27,6 +27,7 @@
27#define ISOFS_SUPER_MAGIC 0x9660 27#define ISOFS_SUPER_MAGIC 0x9660
28#define JFFS2_SUPER_MAGIC 0x72b6 28#define JFFS2_SUPER_MAGIC 0x72b6
29#define PSTOREFS_MAGIC 0x6165676C 29#define PSTOREFS_MAGIC 0x6165676C
30#define EFIVARFS_MAGIC 0xde5e81e4
30 31
31#define MINIX_SUPER_MAGIC 0x137F /* minix v1 fs, 14 char names */ 32#define MINIX_SUPER_MAGIC 0x137F /* minix v1 fs, 14 char names */
32#define MINIX_SUPER_MAGIC2 0x138F /* minix v1 fs, 30 char names */ 33#define MINIX_SUPER_MAGIC2 0x138F /* minix v1 fs, 30 char names */