]> git.baikalelectronics.ru Git - kernel.git/commit
[SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 25 Aug 2007 05:05:44 +0000 (22:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Aug 2007 01:49:07 +0000 (18:49 -0700)
commit9283fbdfa134683145c5dbc6e49f9131be6fc949
tree5ccc519321d2f4fa5499c41a66f8af13a7978281
parentbdb4c4f3c1fd2670c7424ce104f872c17a03b05c
[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 <davem@davemloft.net>
drivers/block/sunvdc.c