From: Arne Jansen Date: Tue, 13 Sep 2011 10:29:12 +0000 (+0200) Subject: Btrfs: generic data structure to build unique lists X-Git-Tag: v3.3-rc1~26^2~10^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5c81356426c476112f2b59fe64bdb1b37f079d;p=pandora-kernel.git Btrfs: generic data structure to build unique lists ulist is a generic data structures to hold a collection of unique u64 values. The only operations it supports is adding to the list and enumerating it. It is possible to store an auxiliary value along with the key. The implementation is preliminary and can probably be sped up significantly. It is used by btrfs_find_all_roots() quota to translate recursions into iterative loops. Signed-off-by: Arne Jansen Signed-off-by: Jan Schmidt --- Reading git-diff-tree failed