summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/eattr.c
diff options
context:
space:
mode:
authorSteven Whitehouse2008-02-08 14:18:11 +0100
committerSteven Whitehouse2008-03-31 11:40:53 +0200
commit30cbf189cd2a1ba13ff3c8c8ee2103dbdb18578a (patch)
tree5d3a3e54850f021abf3ccf43879b692025610cb1 /fs/gfs2/eattr.c
parent[GFS2] The case of the missing asterisk (diff)
downloadkernel-qcow2-linux-30cbf189cd2a1ba13ff3c8c8ee2103dbdb18578a.tar.gz
kernel-qcow2-linux-30cbf189cd2a1ba13ff3c8c8ee2103dbdb18578a.tar.xz
kernel-qcow2-linux-30cbf189cd2a1ba13ff3c8c8ee2103dbdb18578a.zip
[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>
Diffstat (limited to 'fs/gfs2/eattr.c')
0 files changed, 0 insertions, 0 deletions