Skip to content

Commit

Permalink
SYSFS: use standard magic.h for sysfs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Qinghuang Feng authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent 1fa5ae8 commit 8231f2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/sysfs/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8231f2f

Please sign in to comment.