summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/refcounttree.h
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.h
parent5aea1f0ef4024ba28213c10181e1b16ec678c82d (diff)
downloadop-kernel-dev-47bca4950bc40fb54e9d41cbbc8b06cd653d2ae2.zip
op-kernel-dev-47bca4950bc40fb54e9d41cbbc8b06cd653d2ae2.tar.gz
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.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud