summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efivars.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-22 16:51:45 +0200
committerMatt Fleming <matt.fleming@intel.com>2012-10-30 11:39:27 +0100
commit91716322d834cba34f4a7ed5e4a39673eb90862b (patch)
tree9e08dfea53f11f207644c5885b777238b3657b38 /drivers/firmware/efivars.c
parentefivarfs: Replace magic number with sizeof(attributes) (diff)
downloadlinux-91716322d834cba34f4a7ed5e4a39673eb90862b.tar.xz
linux-91716322d834cba34f4a7ed5e4a39673eb90862b.zip
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)
sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_blocksize = PAGE_CACHE_SIZE;
sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
- sb->s_magic = PSTOREFS_MAGIC;
+ sb->s_magic = EFIVARFS_MAGIC;
sb->s_op = &efivarfs_ops;
sb->s_time_gran = 1;