Commit 8231f2f9 authored by Qinghuang Feng's avatar Qinghuang Feng Committed by Greg Kroah-Hartman

SYSFS: use standard magic.h for sysfs

SYSFS_MAGIC has been added into magic.h, so only use that definition
in magic.h to avoid potential consistency problem.
Signed-off-by: default avatarQinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1fa5ae85
...@@ -17,11 +17,10 @@ ...@@ -17,11 +17,10 @@
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/magic.h>
#include "sysfs.h" #include "sysfs.h"
/* Random magic number */
#define SYSFS_MAGIC 0x62656572
static struct vfsmount *sysfs_mount; static struct vfsmount *sysfs_mount;
struct super_block * sysfs_sb = NULL; struct super_block * sysfs_sb = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment