|
@@ -69,8 +69,6 @@ struct vdc_port {
|
|
u8 vdisk_mtype;
|
|
u8 vdisk_mtype;
|
|
|
|
|
|
char disk_name[32];
|
|
char disk_name[32];
|
|
-
|
|
|
|
- struct vio_disk_vtoc label;
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio)
|
|
static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio)
|
|
@@ -710,13 +708,6 @@ static int probe_disk(struct vdc_port *port)
|
|
if (comp.err)
|
|
if (comp.err)
|
|
return comp.err;
|
|
return comp.err;
|
|
|
|
|
|
- err = generic_request(port, VD_OP_GET_VTOC,
|
|
|
|
- &port->label, sizeof(port->label));
|
|
|
|
- if (err < 0) {
|
|
|
|
- printk(KERN_ERR PFX "VD_OP_GET_VTOC returns error %d\n", err);
|
|
|
|
- return err;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if (vdc_version_supported(port, 1, 1)) {
|
|
if (vdc_version_supported(port, 1, 1)) {
|
|
/* vdisk_size should be set during the handshake, if it wasn't
|
|
/* vdisk_size should be set during the handshake, if it wasn't
|
|
* then the underlying disk is reserved by another system
|
|
* then the underlying disk is reserved by another system
|