diff --git a/[refs] b/[refs] index 6a929d1e9c54..a1fd26fb485c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4f9a58d75bfe82ab2b8ba5b8506dfb190a267834 +refs/heads/master: fd5eea4214f72bd7ac77c1c5346a9c096319131a diff --git a/trunk/fs/inotify_user.c b/trunk/fs/inotify_user.c index 9bf2f6c09df6..5e009331c01f 100644 --- a/trunk/fs/inotify_user.c +++ b/trunk/fs/inotify_user.c @@ -31,6 +31,7 @@ #include #include #include +#include #include @@ -684,7 +685,8 @@ static int inotify_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { - return get_sb_pseudo(fs_type, "inotify", NULL, 0xBAD1DEA, mnt); + return get_sb_pseudo(fs_type, "inotify", NULL, + INOTIFYFS_SUPER_MAGIC, mnt); } static struct file_system_type inotify_fs_type = { diff --git a/trunk/include/linux/magic.h b/trunk/include/linux/magic.h index 36cc20dfd142..722d4755060f 100644 --- a/trunk/include/linux/magic.h +++ b/trunk/include/linux/magic.h @@ -38,4 +38,7 @@ #define SMB_SUPER_MAGIC 0x517B #define USBDEVICE_SUPER_MAGIC 0x9fa2 +#define FUTEXFS_SUPER_MAGIC 0xBAD1DEA +#define INOTIFYFS_SUPER_MAGIC 0x2BAD1DEA + #endif /* __LINUX_MAGIC_H__ */ diff --git a/trunk/kernel/futex.c b/trunk/kernel/futex.c index fcc94e7b4086..d725676d84f3 100644 --- a/trunk/kernel/futex.c +++ b/trunk/kernel/futex.c @@ -52,6 +52,7 @@ #include #include #include +#include #include #include "rtmutex_common.h" @@ -2080,7 +2081,7 @@ static int futexfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { - return get_sb_pseudo(fs_type, "futex", NULL, 0xBAD1DEA, mnt); + return get_sb_pseudo(fs_type, "futex", NULL, FUTEXFS_SUPER_MAGIC, mnt); } static struct file_system_type futex_fs_type = {