All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix.patch removed from -mm tree
@ 2013-03-01 20:47 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2013-03-01 20:47 UTC (permalink / raw)
  To: sfr, mm-commits


The patch titled
     Subject: hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix
has been removed from the -mm tree.  Its filename was
     hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/md/dm-cache-policy-cleaner.c |    3 +--
 drivers/md/dm-cache-policy-mq.c      |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff -puN drivers/md/dm-cache-policy-cleaner.c~hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix drivers/md/dm-cache-policy-cleaner.c
--- a/drivers/md/dm-cache-policy-cleaner.c~hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix
+++ a/drivers/md/dm-cache-policy-cleaner.c
@@ -142,10 +142,9 @@ static struct wb_cache_entry *lookup_cac
 	struct hash *hash = &p->chash;
 	unsigned h = hash_64(from_oblock(oblock), hash->hash_bits);
 	struct wb_cache_entry *cur;
-	struct hlist_node *tmp;
 	struct hlist_head *bucket = &hash->table[h];
 
-	hlist_for_each_entry(cur, tmp, bucket, hlist) {
+	hlist_for_each_entry(cur, bucket, hlist) {
 		if (cur->oblock == oblock) {
 			/* Move upfront bucket for faster access. */
 			hlist_del(&cur->hlist);
diff -puN drivers/md/dm-cache-policy-mq.c~hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix drivers/md/dm-cache-policy-mq.c
--- a/drivers/md/dm-cache-policy-mq.c~hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix
+++ a/drivers/md/dm-cache-policy-mq.c
@@ -369,10 +369,9 @@ static struct entry *hash_lookup(struct 
 {
 	unsigned h = hash_64(from_oblock(oblock), mq->hash_bits);
 	struct hlist_head *bucket = mq->table + h;
-	struct hlist_node *tmp;
 	struct entry *e;
 
-	hlist_for_each_entry(e, tmp, bucket, hlist)
+	hlist_for_each_entry(e, bucket, hlist)
 		if (e->oblock == oblock) {
 			hlist_del(&e->hlist);
 			hlist_add_head(&e->hlist, bucket);
_

Patches currently in -mm which might be from sfr@canb.auug.org.au are

origin.patch
linux-next.patch
kconfig-consolidate-config_debug_strict_user_copy_checks.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-01 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 20:47 [merged] hlist-drop-the-node-parameter-from-iterators-dm-cache-policy-fix.patch removed from -mm tree akpm

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.