lkml.org 
[lkml]   [2012]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] docs: block: update ioprio.txt
Date
From: Zheng Liu <wenqing.lz@taobao.com>

The ionice.c in ioprio.txt document needed updating for the latest util-linux
version.

CC: Jens Axboe <axboe@kernel.dk>
CC: Rob Landley <rob@landley.net>
CC: Bernhard Voelker <mail@bernhard-voelker.de>
CC: Sami Kerola <kerolasa@iki.fi>
CC: Karel Zak <kzak@redhat.com>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
---
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


\
 
 \ /
  Last update: 2012-06-21 14:01    [W:0.495 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site