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-prev] [day] [month] [year] [list]
Date:	Mon, 11 May 2009 11:33:30 GMT
From:	tip-bot for Li Zefan <lizf@...fujitsu.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, acme@...hat.com, hpa@...or.com,
	mingo@...hat.com, lizf@...fujitsu.com, jens.axboe@...cle.com,
	Alan.Brunelle@...com, tglx@...utronix.de,
	kosaki.motohiro@...fujitsu.com, mingo@...e.hu
Subject: [tip:tracing/core] blktrace: from-sector redundant in trace_block_remap, cleanup

Commit-ID:  79c5d3ce614d8fe706545c7bca2158b63db6bb5e
Gitweb:     http://git.kernel.org/tip/79c5d3ce614d8fe706545c7bca2158b63db6bb5e
Author:     Li Zefan <lizf@...fujitsu.com>
AuthorDate: Mon, 11 May 2009 15:06:46 +0800
Committer:  Ingo Molnar <mingo@...e.hu>
CommitDate: Mon, 11 May 2009 13:30:24 +0200

blktrace: from-sector redundant in trace_block_remap, cleanup

The last argument of block_remap prober is the original sector
before remap, so it should be 'from', not 'to'.

[ Impact: clean up ]

Signed-off-by: Li Zefan <lizf@...fujitsu.com>
Cc: "Alan D. Brunelle" <Alan.Brunelle@...com>
Cc: Jens Axboe <jens.axboe@...cle.com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
LKML-Reference: <4A07CE86.5090301@...fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>


---
 include/trace/block.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/trace/block.h b/include/trace/block.h
index 8ac945b..5b12efa 100644
--- a/include/trace/block.h
+++ b/include/trace/block.h
@@ -70,7 +70,7 @@ DECLARE_TRACE(block_split,
 
 DECLARE_TRACE(block_remap,
 	TP_PROTO(struct request_queue *q, struct bio *bio, dev_t dev,
-		 sector_t to),
-	      TP_ARGS(q, bio, dev, to));
+		 sector_t from),
+	      TP_ARGS(q, bio, dev, from));
 
 #endif
--
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