Re: [Patch] Futex misses kill_sb

Rusty Russell (rusty@rustcorp.com.au)
Sat, 31 Aug 2002 15:12:32 +1000


In message <wrpptw05rgq.fsf@hina.wild-wind.fr.eu.org> you write:
> Hi all,
>
> The enclosed patch fixes a missing .kill_sb in futexes' fs_type
> declaration. Without this patch, kernel oopses if someone ever tries
> to mount futexfs...

<shrug>Viro ripped it out in 2.5.26. Al?

Rusty.

From: Marc Zyngier <mzyngier@freesurf.fr>
diff -Nru a/kernel/futex.c b/kernel/futex.c
--- a/kernel/futex.c Fri Aug 30 19:26:44 2002
+++ b/kernel/futex.c Fri Aug 30 19:26:44 2002
@@ -359,6 +359,7 @@
static struct file_system_type futex_fs_type = {
.name = "futexfs",
.get_sb = futexfs_get_sb,
+ .kill_sb = kill_anon_super,
};

static int __init init(void)

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/