[PATCH v2] docs: block: update ioprio.txt
From: Zheng Liu
Date: Thu Jun 21 2012 - 07:21:32 EST
From: Zheng Liu <wenqing.lz@xxxxxxxxxx>
The ionice.c in ioprio.txt document needed updating for the latest util-linux
version.
CC: Jens Axboe <axboe@xxxxxxxxx>
CC: Rob Landley <rob@xxxxxxxxxxx>
CC: Bernhard Voelker <mail@xxxxxxxxxxxxxxxxxxx>
CC: Sami Kerola <kerolasa@xxxxxx>
CC: Karel Zak <kzak@xxxxxxxxxx>
Signed-off-by: Zheng Liu <wenqing.lz@xxxxxxxxxx>
---
Hi Rob,
Could you please review this patch again? I only fix the reference code
according to your feedback.
Regards,
Zheng
Documentation/block/ioprio.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/block/ioprio.txt b/Documentation/block/ioprio.txt
index 8ed8c59..55970a1 100644
--- a/Documentation/block/ioprio.txt
+++ b/Documentation/block/ioprio.txt
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
switch (ioprio_class) {
case IOPRIO_CLASS_NONE:
- ioprio_class = IOPRIO_CLASS_BE;
+ ioprio = 0;
break;
case IOPRIO_CLASS_RT:
case IOPRIO_CLASS_BE:
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/