Xiaofeng Ling
2005-Sep-02 08:28 UTC
[Xen-devel] [PATCH] remove use of get_gendisk in blkfront
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@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Katz
2005-Nov-09 03:53 UTC
Re: [Xen-devel] [PATCH] remove use of get_gendisk in blkfront
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@intel.com>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@redhat.com> Jeremy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel