WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] remove use of get_gendisk in blkfront

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] remove use of get_gendisk in blkfront
From: Jeremy Katz <katzj@xxxxxxxxxx>
Date: Tue, 08 Nov 2005 22:53:42 -0500
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: Wed, 09 Nov 2005 03:55:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43180D2D.8000503@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43180D2D.8000503@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2005-09-02 at 16:28 +0800, Xiaofeng Ling wrote:
> remove use of get_gendisk in blkfront
> gen_gendisk is no long exported by 2.6 kernel. this patch remove the 
> call of get_gendisk by saving the gd point in blkfront_info in vbd.c so 
> that blkfront can be built as kerenl module.
> 
> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>

This looks correct to me and helps in building blkfront as a module.
Any chance of getting it committed?  I've gone ahead and rediffed
against the current tip and cleaned up the warnings.  Attached here.

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

Jeremy

Attachment: xen-get-gendisk.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>