summaryrefslogtreecommitdiff
path: root/fs/ocfs2/refcounttree.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-08-18 11:43:42 +0800
committerJoel Becker <joel.becker@oracle.com>2009-09-22 20:09:43 -0700
commit47bca4950bc40fb54e9d41cbbc8b06cd653d2ae2 (patch)
tree17d36e5b9f330cda55b6ee8ff9a0293bd080040e /fs/ocfs2/refcounttree.c
parent5aea1f0ef4024ba28213c10181e1b16ec678c82d (diff)
ocfs2: Abstract ocfs2 xattr tree extend rec iteration process.
Currently we have ocfs2_iterate_xattr_buckets which can receive a para and a callback to iterate a series of bucket. It is good. But actually the 2 callers ocfs2_xattr_tree_list_index_block and ocfs2_delete_xattr_index_block are almost the same. The only difference is that the latter need to handle the extent record also. So add a new function named ocfs2_iterate_xattr_index_block. It can be given func callback which are used for exten record. So now we only have one iteration function for the xattr index block. Ane what's more, it is useful for our future reflink operations. Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/refcounttree.c')
0 files changed, 0 insertions, 0 deletions