idr: make idr_get_new* rcu-safe
authorNadia Derbey <Nadia.Derbey@bull.net>
Fri, 25 Jul 2008 08:48:00 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:42 +0000 (10:53 -0700)
commit3219b3b7456d5cf15ba7b1fe7b1bcf15ce8840e2
treea7743ab2924063ff1b5dca4d835e760c8d4c7edf
parent944ca05c7b4972f2ebf37262e0f4933d178ad6db
idr: make idr_get_new* rcu-safe

Make the idr_get_new* routines rcu-safe.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Jim Houston <jim.houston@comcast.net>
Cc: Pierre Peiffer <peifferp@gmail.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/idr.c