From: Bastian Blank <waldi@debian.org>
To: linux-kernel@vger.kernel.org,
Martin Schwidefsky <schwidefsky@de.ibm.com>
Subject: Re: [PATCH] s390 - dasd with devfs
Date: Tue, 25 Feb 2003 19:51:04 +0100 [thread overview]
Message-ID: <20030225185104.GB30801@wavehammer.waldi.eu.org> (raw)
In-Reply-To: <20030225180413.GA30801@wavehammer.waldi.eu.org>
On Tue, Feb 25, 2003 at 07:04:13PM +0100, Bastian Blank wrote:
> this patch fixes s390 dasd with devfs
if forgot a fix and include an updated patch
bastian
diff -ur linux-2.5.63.orig/drivers/s390/block/dasd.c linux-2.5.63/drivers/s390/block/dasd.c
--- linux-2.5.63.orig/drivers/s390/block/dasd.c 2003-02-24 20:05:31.000000000 +0100
+++ linux-2.5.63/drivers/s390/block/dasd.c 2003-02-25 18:51:34.000000000 +0100
@@ -2077,7 +2077,7 @@
DBF_EVENT(DBF_EMERG, "%s", "debug area created");
- if (devfs_mk_dir(NULL, "dasd", NULL)) {
+ if (!devfs_mk_dir(NULL, "dasd", NULL)) {
DBF_EVENT(DBF_ALERT, "%s", "no devfs");
rc = -ENOSYS;
goto failed;
diff -ur linux-2.5.63.orig/drivers/s390/block/dasd_genhd.c linux-2.5.63/drivers/s390/block/dasd_genhd.c
--- linux-2.5.63.orig/drivers/s390/block/dasd_genhd.c 2003-02-24 20:05:39.000000000 +0100
+++ linux-2.5.63/drivers/s390/block/dasd_genhd.c 2003-02-25 19:47:27.000000000 +0100
@@ -145,6 +145,7 @@
gdp->major = mi->major;
gdp->first_minor = index << DASD_PARTN_BITS;
gdp->fops = &dasd_device_operations;
+ gdp->flags |= GENHD_FL_DEVFS;
/*
* Set device name.
--
You're dead, Jim.
-- McCoy, "The Tholian Web", stardate unknown
next prev parent reply other threads:[~2003-02-25 18:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-25 18:04 Bastian Blank
2003-02-25 18:51 ` Bastian Blank [this message]
2003-02-28 9:41 Martin Schwidefsky
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=20030225185104.GB30801@wavehammer.waldi.eu.org \
--to=waldi@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/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®