diff options
Diffstat (limited to 'fs/binfmt_misc.c')
-rw-r--r-- | fs/binfmt_misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index d73d75591a39..c0a909e1d290 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c | |||
@@ -55,6 +55,7 @@ typedef struct { | |||
55 | } Node; | 55 | } Node; |
56 | 56 | ||
57 | static DEFINE_RWLOCK(entries_lock); | 57 | static DEFINE_RWLOCK(entries_lock); |
58 | static struct file_system_type bm_fs_type; | ||
58 | static struct vfsmount *bm_mnt; | 59 | static struct vfsmount *bm_mnt; |
59 | static int entry_count; | 60 | static int entry_count; |
60 | 61 | ||
@@ -638,7 +639,7 @@ static ssize_t bm_register_write(struct file *file, const char __user *buffer, | |||
638 | if (!inode) | 639 | if (!inode) |
639 | goto out2; | 640 | goto out2; |
640 | 641 | ||
641 | err = simple_pin_fs("binfmt_misc", &bm_mnt, &entry_count); | 642 | err = simple_pin_fs(&bm_fs_type, &bm_mnt, &entry_count); |
642 | if (err) { | 643 | if (err) { |
643 | iput(inode); | 644 | iput(inode); |
644 | inode = NULL; | 645 | inode = NULL; |