commit | e679376911d016b670c8cfc1645c178f77e8d1d3 | [log] [tgz] |
---|---|---|
author | Arne Jansen <sensille@gmx.net> | Tue Sep 13 11:18:10 2011 +0200 |
committer | Alexander Block <ablock84@googlemail.com> | Wed Jul 25 17:33:18 2012 +0200 |
tree | 0ecc36238400c974a6c94eee6cda7288d494f515 | |
parent | 362a20c5e27614739c46707d1c5f55c214d164ce [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>