+ slqb-use-correct-name-for-rcu-callback.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     slqb: use correct name for rcu callback
has been added to the -mm tree.  Its filename is
     slqb-use-correct-name-for-rcu-callback.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: slqb: use correct name for rcu callback
From: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>

struct slqb_page defines struct rcu_head rcu_head for rcu,
the rcu callback should use it.

Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
Acked-by: Nick Piggin <npiggin@xxxxxxx>
Cc: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/slqb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/slqb.c~slqb-use-correct-name-for-rcu-callback mm/slqb.c
--- a/mm/slqb.c~slqb-use-correct-name-for-rcu-callback
+++ a/mm/slqb.c
@@ -1022,7 +1022,7 @@ static void rcu_free_slab(struct rcu_hea
 {
 	struct slqb_page *page;
 
-	page = container_of((struct list_head *)h, struct slqb_page, lru);
+	page = container_of(h, struct slqb_page, rcu_head);
 	__free_slab(page->list->cache, page);
 }
 
_

Patches currently in -mm which might be from laijs@xxxxxxxxxxxxxx are

linux-next.patch
slqb-use-correct-name-for-rcu-callback.patch
workqueue-avoid-recursion-in-run_workqueue.patch
cpu-hotplug-remove-unused-cpuhotplug_mutex_lock.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux