mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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: Qinghuang Feng <qhfeng.kernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1fa5ae857b
commit
8231f2f99a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user