]> git.neil.brown.name Git - history.git/commit
[PATCH] remove radix_tree_reserve()
authorAndrew Morton <akpm@digeo.com>
Thu, 10 Oct 2002 04:05:19 +0000 (21:05 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 10 Oct 2002 04:05:19 +0000 (21:05 -0700)
commit6b1ba797ae21de6c13d43556335227cc4de8c533
tree0bfbc73bda6eaefdfc89742b41cd79d9851895b2
parent60c6d43bd94835301c5a88649914ed36a76afed3
[PATCH] remove radix_tree_reserve()

From Hugh Dickins.

radix_tree_reserve() exists solely for the tmpfs move_to_swap_cache()
and move_from_swap_cache() functions, and yet they don't need it: there
is no problem in the one page being simultaneously listed in two radix
trees (while both locks are held).  Use radix_tree_insert(), and remove
radix_tree_reserve(); also removed a few blank lines.
include/linux/radix-tree.h
lib/radix-tree.c
mm/swap_state.c