From: Marc Zyngier <mzyngier@freesurf.fr>
To: linux-kernel@vger.kernel.org
Cc: rusty@rustcorp.com.au
Subject: [Patch] Futex misses kill_sb
Date: 30 Aug 2002 16:52:37 +0200 [thread overview]
Message-ID: <wrpptw05rgq.fsf@hina.wild-wind.fr.eu.org> (raw)
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.
next reply other threads:[~2002-08-30 14:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-30 14:52 Marc Zyngier [this message]
2002-08-31 5:12 ` Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wrpptw05rgq.fsf@hina.wild-wind.fr.eu.org \
--to=mzyngier@freesurf.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®