Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -17,11 +17,10 @@
#include <linux/pagemap.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/magic.h>

#include "sysfs.h"

/* Random magic number */
#define SYSFS_MAGIC 0x62656572

static struct vfsmount *sysfs_mount;
struct super_block * sysfs_sb = NULL;