commit | 2f38b3e1900634e64a186873b3388b1bf85dabc0 | [log] [tgz] |
---|---|---|
author | Arne Jansen <sensille@gmx.net> | Tue Sep 13 11:18:10 2011 +0200 |
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | Tue Jul 10 15:14:42 2012 +0200 |
tree | 21017a51174be9ba31696e4e4c8daa18ce2d59f8 | |
parent | 630dc772ea51bca3ec6fac609f450cbe0cafd1d6 [diff] |
Btrfs: add helper for tree enumeration Often no exact match is wanted but just the next lower or higher item. There's a lot of duplicated code throughout btrfs to deal with the corner cases. This patch adds a helper function that can facilitate searching. Signed-off-by: Arne Jansen <sensille@gmx.net>