lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1340278109-18761-1-git-send-email-wenqing.lz@taobao.com>
Date:	Thu, 21 Jun 2012 19:28:29 +0800
From:	Zheng Liu <gnehzuil.liu@...il.com>
To:	linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
	util-linux@...r.kernel.org
Cc:	Jens Axboe <axboe@...nel.dk>, Rob Landley <rob@...dley.net>,
	Bernhard Voelker <mail@...nhard-voelker.de>,
	Sami Kerola <kerolasa@....fi>, Karel Zak <kzak@...hat.com>,
	Zheng Liu <wenqing.lz@...bao.com>
Subject: [PATCH v2] docs: block: update ioprio.txt

From: Zheng Liu <wenqing.lz@...bao.com>

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

CC: Jens Axboe <axboe@...nel.dk>
CC: Rob Landley <rob@...dley.net>
CC: Bernhard Voelker <mail@...nhard-voelker.de>
CC: Sami Kerola <kerolasa@....fi>
CC: Karel Zak <kzak@...hat.com>
Signed-off-by: Zheng Liu <wenqing.lz@...bao.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ