]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: Convenient access to an xattr bucket's block number.
authorJoel Becker <joel.becker@oracle.com>
Fri, 24 Oct 2008 23:21:03 +0000 (16:21 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:16 +0000 (08:34 -0800)
commit9c7759aa670918a48f0c6e06779cd20f2781a2ac
treeda91ec1b046904504b53f9d356c899321ec3f382
parent4ac6032d6c92f0ac65cf5bc56b68557b3f099b66
ocfs2: Convenient access to an xattr bucket's block number.

The xattr code often wants to know the block number of an xattr bucket.
This is usually found by dereferencing the first bh 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