* [Patch] Futex misses kill_sb
@ 2002-08-30 14:52 Marc Zyngier
2002-08-31 5:12 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2002-08-30 14:52 UTC (permalink / raw)
To: linux-kernel; +Cc: rusty
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...
Thanks for any comments.
M.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.542 -> 1.543
# kernel/futex.c 1.12 -> 1.13
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/08/30 maz@if.wild-wind.fr.eu.org 1.543
# futex.c:
# Fixed missing .kill_sb
# --------------------------------------------
#
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)
--
Places change, faces change. Life is so very strange.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Patch] Futex misses kill_sb
2002-08-30 14:52 [Patch] Futex misses kill_sb Marc Zyngier
@ 2002-08-31 5:12 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2002-08-31 5:12 UTC (permalink / raw)
To: mzyngier; +Cc: linux-kernel, viro, torvalds
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-31 5:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-30 14:52 [Patch] Futex misses kill_sb Marc Zyngier
2002-08-31 5:12 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®