]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/binfmt_misc.c
ocfs2: continue recovery when a dead node is encountered
[linux-2.6-omap-h63xx.git] / fs / binfmt_misc.c
index c0a909e1d290d4300ee96121c25f89cc9e12a981..34ebbc191e46ada5e8c488257e9e131b0060cac3 100644 (file)
@@ -204,7 +204,6 @@ static int load_misc_binary(struct linux_binprm *bprm, struct pt_regs *regs)
                goto _error;
 
        if (files) {
-               steal_locks(files);
                put_files_struct(files);
                files = NULL;
        }
@@ -741,10 +740,10 @@ static int bm_fill_super(struct super_block * sb, void * data, int silent)
        return err;
 }
 
-static struct super_block *bm_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int bm_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, bm_fill_super);
+       return get_sb_single(fs_type, flags, data, bm_fill_super, mnt);
 }
 
 static struct linux_binfmt misc_format = {