lkml.org 
[lkml]   [2011]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[23/35] xen-blkfront: Fix one off warning about name clash
    3.0-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Stefan Bader <stefan.bader@canonical.com>

    commit 89153b5cae9f40c224a5d321665a97bf14220c2c upstream.

    Avoid telling users to use xvde and onwards when using xvde.

    Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
    Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/block/xen-blkfront.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/block/xen-blkfront.c
    +++ b/drivers/block/xen-blkfront.c
    @@ -529,7 +529,7 @@ static int xlvbd_alloc_gendisk(blkif_sec
    minor = BLKIF_MINOR_EXT(info->vdevice);
    nr_parts = PARTS_PER_EXT_DISK;
    offset = minor / nr_parts;
    - if (xen_hvm_domain() && offset <= EMULATED_HD_DISK_NAME_OFFSET + 4)
    + if (xen_hvm_domain() && offset < EMULATED_HD_DISK_NAME_OFFSET + 4)
    printk(KERN_WARNING "blkfront: vdevice 0x%x might conflict with "
    "emulated IDE disks,\n\t choose an xvd device name"
    "from xvde on\n", info->vdevice);



    \
     
     \ /
      Last update: 2011-08-27 17:05    [W:4.615 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site