[btr] Fix btr_get_input_queue_size().
authorAndre Noll <maan@systemlinux.org>
Thu, 14 Jan 2010 21:58:54 +0000 (22:58 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 14 Jan 2010 21:58:54 +0000 (22:58 +0100)
commit5a38ee4a131d881d97c189616a63cf0a12272756
tree6549461c233e7d7b6f7387c4d08441b7b875e0fd
parent5ec0d9ef2189e22b3ee80f661196b6ae0593a525
[btr] Fix btr_get_input_queue_size().

We must take care of wrap buffers when computing the input queue size.
buffer_tree.c