summaryrefslogtreecommitdiff
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2008-08-18 17:38:51 +0800
committerMark Fasheh <mfasheh@suse.com>2008-10-13 16:57:03 -0700
commit589dc2602f2a1b7fa5e59b90f548af189f128d77 (patch)
tree0a87e16146aa06c72de8db0aed1215c8be72b5fc /fs/ocfs2/alloc.h
parent0c044f0b24b9128ba8c297149d88bd81f2e36af3 (diff)
downloadlwn-589dc2602f2a1b7fa5e59b90f548af189f128d77.tar.gz
lwn-589dc2602f2a1b7fa5e59b90f548af189f128d77.zip
ocfs2: Add xattr lookup code xattr btrees
Add code to lookup a given extended attribute in the xattr btree. Lookup follows this general scheme: 1. Use ocfs2_xattr_get_rec to find the xattr extent record 2. Find the xattr bucket within the extent which may contain this xattr 3. Iterate the bucket to find the xattr. In ocfs2_xattr_block_get(), we need to recalcuate the block offset and name offset for the right position of name/value. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
0 files changed, 0 insertions, 0 deletions