git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
s390
/
block
/
dasd_diag.c
diff --git
a/drivers/s390/block/dasd_diag.c
b/drivers/s390/block/dasd_diag.c
index
cc79775
..
deaecd0
100644
(file)
--- a/
drivers/s390/block/dasd_diag.c
+++ b/
drivers/s390/block/dasd_diag.c
@@
-6,7
+6,7
@@
* Bugreports.to..: <Linux390@de.ibm.com>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
*
* Bugreports.to..: <Linux390@de.ibm.com>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
*
- * $Revision: 1.3
7
$
+ * $Revision: 1.3
8
$
*/
#include <linux/config.h>
*/
#include <linux/config.h>
@@
-304,8
+304,11
@@
dasd_diag_check_device(struct dasd_device *device)
(device->bp_block >> 10),
(device->blocks << device->s2b_shift) >> 1);
rc = 0;
(device->bp_block >> 10),
(device->blocks << device->s2b_shift) >> 1);
rc = 0;
- } else
+ } else {
+ DEV_MESSAGE(KERN_WARNING, device, "%s",
+ "volume has incompatible disk layout");
rc = -EMEDIUMTYPE;
rc = -EMEDIUMTYPE;
+ }
free_page((long) label);
return rc;
}
free_page((long) label);
return rc;
}