ocfs2: Convenient access to xattr bucket data blocks.
authorJoel Becker <joel.becker@oracle.com>
Fri, 24 Oct 2008 23:57:21 +0000 (16:57 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:16 +0000 (08:34 -0800)
commit51def39f0cabd46131c7c4df08751cb0cb9433d1
treed4845849f9e6bdee106c06453161e0c28f1fd429
parent9c7759aa670918a48f0c6e06779cd20f2781a2ac
ocfs2: Convenient access to xattr bucket data blocks.

The xattr code often wants to access the data pointer for blocks in an
xattr bucket.  This is usually found by dereferencing the bh array
hanging off of the ocfs2_xattr_bucket structure.  Rather than do this
all the time, let's provide a nice little macro.  The idea is ripped
from the ocfs2_path code.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c