Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 31 Oct 2002 19:14:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 31 Oct 2002 19:14:21 -0500 Received: from air-2.osdl.org ([65.172.181.6]:12672 "EHLO doc.pdx.osdl.net") by vger.kernel.org with ESMTP id ; Thu, 31 Oct 2002 19:14:21 -0500 Date: Thu, 31 Oct 2002 17:20:07 -0800 From: Bob Miller To: Alexander Viro Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.5.45] Export blkdev_ioctl for raw block driver. Message-ID: <20021031172007.A28402@doc.pdx.osdl.net> References: <20021031165719.A26498@doc.pdx.osdl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from viro@math.psu.edu on Thu, Oct 31, 2002 at 07:11:19PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 27 On Thu, Oct 31, 2002 at 07:11:19PM -0500, Alexander Viro wrote: > > > On Thu, 31 Oct 2002, Bob Miller wrote: > > > diff -Nru a/kernel/ksyms.c b/kernel/ksyms.c > > --- a/kernel/ksyms.c Thu Oct 31 16:47:14 2002 > > +++ b/kernel/ksyms.c Thu Oct 31 16:47:14 2002 > > @@ -349,6 +349,7 @@ > > EXPORT_SYMBOL(blkdev_open); > > EXPORT_SYMBOL(blkdev_get); > > EXPORT_SYMBOL(blkdev_put); > > +EXPORT_SYMBOL(blkdev_ioctl); > > Why not use ioctl_by_bdev() in the first place? (and yes, it's very likely > my fault - I hadn't realized that raw.c went modular at some point). Didn't know about ioctl_by_bdev()... I'll make a patch that converts the raw driver to call it instead of blkdev_ioctl(). -- Bob Miller Email: rem@osdl.org Open Source Development Lab Phone: 503.626.2455 Ext. 17 - 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/