diff options
Diffstat (limited to 'security/selinux/selinuxfs.c')
-rw-r--r-- | security/selinux/selinuxfs.c | 7 |
1 files changed, 4 insertions, 3 deletions
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 = { |