Matthew Wilcox
d604c32452
radix-tree: introduce radix_tree_replace_clear_tags()
...
In addition to replacing the entry, we also clear all associated tags.
This is really a one-off special for page_cache_tree_delete() which had
far too much detailed knowledge about how the radix tree works.
For efficiency, factor node_tag_clear() out of radix_tree_tag_clear() It
can be used by radix_tree_delete_item() as well as
radix_tree_replace_clear_tags().
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Jan Kara <jack@suse.com>
Cc: Neil Brown <neilb@suse.de>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-20 17:58:30 -07:00
..
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-03-17 21:38:27 -07:00
2016-03-17 15:09:34 -07:00
2016-01-27 09:09:57 -05:00
2015-07-17 16:39:54 -07:00
2015-11-05 19:34:48 -08:00
2015-08-14 15:56:32 -07:00
2016-05-20 17:58:30 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2015-11-05 19:34:48 -08:00
2016-04-04 10:41:08 -07:00
2016-03-15 16:55:16 -07:00
2016-05-20 17:58:30 -07:00
2016-02-16 10:11:12 +01:00
2015-06-24 17:49:45 -07:00
2016-04-14 19:31:34 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2015-09-10 13:29:01 -07:00
2016-05-20 17:58:30 -07:00
2015-02-10 14:30:31 -08:00
2016-05-20 17:58:30 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-05-12 15:52:50 -07:00
2016-01-20 17:09:18 -08:00
2015-11-05 19:34:48 -08:00
2016-04-04 10:41:08 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2015-09-08 15:35:28 -07:00
2016-05-20 17:58:30 -07:00
2016-04-04 10:41:08 -07:00
2016-01-21 17:20:51 -08:00
2016-03-17 15:09:34 -07:00
2016-05-20 17:58:30 -07:00
2016-04-28 11:44:19 +02:00
2016-03-17 15:09:34 -07:00
2016-05-19 19:12:14 -07:00
2016-03-22 15:36:02 -07:00
2016-05-19 19:12:14 -07:00
2015-11-05 19:34:48 -08:00
2016-03-17 15:09:34 -07:00
2016-04-14 19:31:34 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2015-11-05 19:34:48 -08:00
2016-03-15 16:55:16 -07:00
2016-01-15 17:56:32 -08:00
2016-05-17 15:05:23 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-01-15 17:56:32 -08:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-02-16 10:04:09 +01:00
2016-03-17 15:09:34 -07:00
2016-04-04 10:41:08 -07:00
2016-05-19 19:12:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-02-18 16:23:24 -08:00
2016-05-20 17:58:30 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-05-12 15:52:50 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-05-19 19:12:14 -07:00
2015-11-05 19:34:48 -08:00
2016-05-20 17:58:30 -07:00
2016-02-03 08:28:43 -08:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-03-17 15:09:34 -07:00
2016-05-20 17:58:30 -07:00
2016-01-15 11:40:52 -08:00
2015-11-06 17:50:42 -08:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00