Steven Whitehouse 30cbf189cd [GFS2] Add a function to interate over an extent
This adds a function (currently the only use is during mapping
of already allocated blocks, but watch this space) which iterates
over a number of pointers in a block and returns the extent length.

If the initial pointer is 0 (i.e. unallocated) it will return the
number of unallocated blocks in the extent. If the initial pointer
is allocated, then it returns the number of contiguously allocated
blocks in the extent.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2008-03-31 10:40:53 +01:00
..
2006-11-30 10:37:32 -05:00
2008-01-25 08:08:25 +00:00
2008-01-25 08:07:56 +00:00
2008-01-25 08:07:56 +00:00
2007-07-09 08:22:24 +01:00
2008-01-25 08:08:13 +00:00
2007-10-10 08:55:03 +01:00
2008-03-31 10:40:02 +01:00
2007-02-05 13:38:20 -05:00
2008-03-31 10:39:54 +01:00
2008-01-25 08:07:56 +00:00
2008-03-31 10:40:05 +01:00
2008-03-31 10:39:54 +01:00
2008-01-25 08:19:51 +00:00
2007-10-10 08:55:34 +01:00
2008-03-31 10:39:57 +01:00
2008-03-31 10:40:34 +01:00
2006-09-05 10:39:21 -04:00