ocfs2: Convenient access to an xattr bucket's header.
authorJoel Becker <joel.becker@oracle.com>
Sat, 25 Oct 2008 00:04:49 +0000 (17:04 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:16 +0000 (08:34 -0800)
commit3e6329463e3a5c311e1d607ff3db735a18b6d67a
tree9c27f3e08be43e93f69103561f197d2beee22c97
parent51def39f0cabd46131c7c4df08751cb0cb9433d1
ocfs2: Convenient access to an xattr bucket's header.

The xattr code often wants to access the ocfs2_xattr_header at the start
of an bucket.  Rather than walk the pointer chains, let's just create
another nice macro.  As a side benefit, we can get rid of the mostly
spurious ->bu_xh element on the bucket structure.  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