ocfs2: Add xattr index tree operations
authorTao Ma <tao.ma@oracle.com>
Mon, 18 Aug 2008 09:38:49 +0000 (17:38 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 13 Oct 2008 23:57:02 +0000 (16:57 -0700)
commitba492615f0d32d0210b02c14b24512b4372b13d6
tree65275171ba8543a497037c5a159701a06277af4b
parentcf1d6c763fbcb115263114302485ad17e7933d87
ocfs2: Add xattr index tree operations

When necessary, an ocfs2_xattr_block will embed an ocfs2_extent_list to
store large numbers of EAs. This patch adds a new type in
ocfs2_extent_tree_type and adds the implementation so that we can re-use the
b-tree code to handle the storage of many EAs.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h