projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sunvdc: don't call VD_OP_GET_VTOC
[deliverable/linux.git]
/
drivers
/
block
/
sunvdc.c
diff --git
a/drivers/block/sunvdc.c
b/drivers/block/sunvdc.c
index 756b8ec00f16d73851bca0c8d5ec754752c58710..0ebadf93b6c5610cb0d7e46edcbdfa040719c199 100644
(file)
--- a/
drivers/block/sunvdc.c
+++ b/
drivers/block/sunvdc.c
@@
-69,8
+69,6
@@
struct vdc_port {
u8 vdisk_mtype;
char disk_name[32];
u8 vdisk_mtype;
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)
return comp.err;
if (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)) {
/* vdisk_size should be set during the handshake, if it wasn't
* then the underlying disk is reserved by another system
if (vdc_version_supported(port, 1, 1)) {
/* vdisk_size should be set during the handshake, if it wasn't
* then the underlying disk is reserved by another system
This page took
0.043888 seconds
and
5
git commands to generate.