This patch adapts zfcp to the counter changes in lib/statistics.c.
Signed-off-by: Martin Peschke <[email protected]>
---
zfcp_ccw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/drivers/s390/scsi/zfcp_ccw.c
===================================================================
--- linux.orig/drivers/s390/scsi/zfcp_ccw.c
+++ linux/drivers/s390/scsi/zfcp_ccw.c
@@ -137,7 +137,7 @@ static struct statistic_info zfcp_statin
.name = "qdio_outb_full",
.x_unit = "sbals_left",
.y_unit = "",
- .defaults = "type=counter_inc"
+ .defaults = "type=counter"
},
[ZFCP_STAT_A_QO] = {
.name = "qdio_outb",
@@ -155,7 +155,7 @@ static struct statistic_info zfcp_statin
.name = "erp",
.x_unit = "",
.y_unit = "",
- .defaults = "type=counter_inc"
+ .defaults = "type=counter"
}
};
ACK
On Thursday 03 May 2007 19:56, Martin Peschke wrote:
> This patch adapts zfcp to the counter changes in lib/statistics.c.
>
> Signed-off-by: Martin Peschke <[email protected]>
> ---
>
> zfcp_ccw.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux/drivers/s390/scsi/zfcp_ccw.c
> ===================================================================
> --- linux.orig/drivers/s390/scsi/zfcp_ccw.c
> +++ linux/drivers/s390/scsi/zfcp_ccw.c
> @@ -137,7 +137,7 @@ static struct statistic_info zfcp_statin
> .name = "qdio_outb_full",
> .x_unit = "sbals_left",
> .y_unit = "",
> - .defaults = "type=counter_inc"
> + .defaults = "type=counter"
> },
> [ZFCP_STAT_A_QO] = {
> .name = "qdio_outb",
> @@ -155,7 +155,7 @@ static struct statistic_info zfcp_statin
> .name = "erp",
> .x_unit = "",
> .y_unit = "",
> - .defaults = "type=counter_inc"
> + .defaults = "type=counter"
> }
> };
>
>
>
>