X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=security%2Finode.c;h=47eb63480dac94ab2bd90c39a6894e38ebe71d71;hb=9b91cf9daac41eeaaea57ecfe68dc13bb0305fa9;hp=8bf40625c6701a5086b051c6f56a728d3c55a7f0;hpb=d59bf96cdde5b874a57bfd1425faa45da915d0b7;p=linux-2.6 diff --git a/security/inode.c b/security/inode.c index 8bf40625c6..47eb63480d 100644 --- a/security/inode.c +++ b/security/inode.c @@ -13,7 +13,6 @@ */ /* #define DEBUG */ -#include #include #include #include @@ -135,11 +134,11 @@ static int fill_super(struct super_block *sb, void *data, int silent) return simple_fill_super(sb, SECURITYFS_MAGIC, files); } -static struct super_block *get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, - void *data) +static int get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, + void *data, struct vfsmount *mnt) { - return get_sb_single(fs_type, flags, data, fill_super); + return get_sb_single(fs_type, flags, data, fill_super, mnt); } static struct file_system_type fs_type = {