Skip to content
Snippets Groups Projects
Commit 8231f2f9 authored by Qinghuang Feng's avatar Qinghuang Feng Committed by Greg Kroah-Hartman
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment