aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efivars.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-22 10:51:45 -0400
committerMatt Fleming <matt.fleming@intel.com>2012-10-30 06:39:27 -0400
commit91716322d834cba34f4a7ed5e4a39673eb90862b (patch)
tree9e08dfea53f11f207644c5885b777238b3657b38 /drivers/firmware/efivars.c
parentd292384152fdd465dba792d555ce5db83e94efa0 (diff)
efivarfs: Add unique magic number
Using pstore's superblock magic number is no doubt going to cause problems in the future. Give efivarfs its own magic number. Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware/efivars.c')
-rw-r--r--drivers/firmware/efivars.c2
1 files changed, 1 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