Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1bd4b280394cdd14f82efc00808c6d77b097285a
Commit:     1bd4b280394cdd14f82efc00808c6d77b097285a
Parent:     50c46637aa894f904e2fb39086a3d7732f68bd50
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 24 22:05:44 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Aug 26 18:49:07 2007 -0700

    [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK.
    
    While debugging issues with the VDS server I made the
    driver use partition 2 to get at the whole disk since
    this is the "whole disk" partition in the Sun disk
    label.
    
    We really should use slice 0xff which really means
    the whole physical disk in the VIO disk protocol.
    Otherwise things won't work well on a disk image
    that doesn't have a proper disk label on it.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/block/sunvdc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index 4dff492..317a790 100644
--- a/drivers/block/sunvdc.c
+++ b/drivers/block/sunvdc.c
@@ -417,7 +417,7 @@ static int __send_request(struct request *req)
        desc->req_id = port->req_id;
        desc->operation = op;
        if (port->vdisk_type == VD_DISK_TYPE_DISK) {
-               desc->slice = 2;
+               desc->slice = 0xff;
        } else {
                desc->slice = 0;
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to