All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] docs: block: update ioprio.txt
@ 2012-06-21 11:28 Zheng Liu
  2012-06-22 14:39 ` Rob Landley
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Liu @ 2012-06-21 11:28 UTC (permalink / raw)
  To: linux-doc, linux-kernel, util-linux
  Cc: Jens Axboe, Rob Landley, Bernhard Voelker, Sami Kerola,
	Karel Zak, Zheng Liu

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] docs: block: update ioprio.txt
  2012-06-21 11:28 [PATCH v2] docs: block: update ioprio.txt Zheng Liu
@ 2012-06-22 14:39 ` Rob Landley
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Landley @ 2012-06-22 14:39 UTC (permalink / raw)
  To: Zheng Liu
  Cc: linux-doc, linux-kernel, util-linux, Jens Axboe,
	Bernhard Voelker, Sami Kerola, Karel Zak, Zheng Liu

On 06/21/2012 06:28 AM, Zheng Liu wrote:
> From: Zheng Liu <wenqing.lz@taobao.com>
> 
> The ionice.c in ioprio.txt document needed updating for the latest util-linux
> version.

Looks good to me.

Acked-by: Rob Landley <rob@landley.net>

And queued.
-- 
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation.  Pick one.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-22 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21 11:28 [PATCH v2] docs: block: update ioprio.txt Zheng Liu
2012-06-22 14:39 ` Rob Landley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.