diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/inode.c | 8 | ||||
-rw-r--r-- | security/selinux/selinuxfs.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/security/inode.c b/security/inode.c index 0f77b0223662..e6fc29ac8564 100644 --- a/security/inode.c +++ b/security/inode.c | |||
@@ -135,11 +135,11 @@ static int fill_super(struct super_block *sb, void *data, int silent) | |||
135 | return simple_fill_super(sb, SECURITYFS_MAGIC, files); | 135 | return simple_fill_super(sb, SECURITYFS_MAGIC, files); |
136 | } | 136 | } |
137 | 137 | ||
138 | static struct super_block *get_sb(struct file_system_type *fs_type, | 138 | static int get_sb(struct file_system_type *fs_type, |
139 | int flags, const char *dev_name, | 139 | int flags, const char *dev_name, |
140 | void *data) | 140 | void *data, struct vfsmount *mnt) |
141 | { | 141 | { |
142 | return get_sb_single(fs_type, flags, data, fill_super); | 142 | return get_sb_single(fs_type, flags, data, fill_super, mnt); |
143 | } | 143 | } |
144 | 144 | ||
145 | static struct file_system_type fs_type = { | 145 | static struct file_system_type fs_type = { |
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 2e73d3279f2d..7029bbc9bef8 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c | |||
@@ -1345,10 +1345,11 @@ err: | |||
1345 | goto out; | 1345 | goto out; |
1346 | } | 1346 | } |
1347 | 1347 | ||
1348 | static struct super_block *sel_get_sb(struct file_system_type *fs_type, | 1348 | static int sel_get_sb(struct file_system_type *fs_type, |
1349 | int flags, const char *dev_name, void *data) | 1349 | int flags, const char *dev_name, void *data, |
1350 | struct vfsmount *mnt) | ||
1350 | { | 1351 | { |
1351 | return get_sb_single(fs_type, flags, data, sel_fill_super); | 1352 | return get_sb_single(fs_type, flags, data, sel_fill_super, mnt); |
1352 | } | 1353 | } |
1353 | 1354 | ||
1354 | static struct file_system_type sel_fs_type = { | 1355 | static struct file_system_type sel_fs_type = { |