Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Feb 2003 13:40:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Feb 2003 13:40:51 -0500 Received: from p50831A1E.dip.t-dialin.net ([80.131.26.30]:37585 "EHLO extern.mail.waldi.eu.org") by vger.kernel.org with ESMTP id ; Tue, 25 Feb 2003 13:40:50 -0500 Date: Tue, 25 Feb 2003 19:51:04 +0100 From: Bastian Blank To: linux-kernel@vger.kernel.org, Martin Schwidefsky Subject: Re: [PATCH] s390 - dasd with devfs Message-ID: <20030225185104.GB30801@wavehammer.waldi.eu.org> References: <20030225180413.GA30801@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030225180413.GA30801@wavehammer.waldi.eu.org> User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1439 Lines: 38 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 - 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/