diff options
author | Nadia Derbey <Nadia.Derbey@bull.net> | 2008-07-25 01:47:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:41 -0700 |
commit | 4ae537892ab9858f71c78701f4651ad1ca531a1b (patch) | |
tree | c40baaaff4edc958d0fc642104a17c5a98b049de /lib/.gitignore | |
parent | 2027d1abc25ff770cc3bc936abd33570ce85d85a (diff) | |
download | linux-4ae537892ab9858f71c78701f4651ad1ca531a1b.tar.bz2 |
idr: rename some of the idr APIs internal routines
This is a trivial patch that renames:
. alloc_layer to get_from_free_list since it idr_pre_get that actually
allocates memory.
. free_layer to move_to_free_list since memory is not actually freed there.
This makes things more clear for the next patches.
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>
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions