]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Create ocfs2_xattr_value_buf.
authorJoel Becker <joel.becker@oracle.com>
Tue, 9 Dec 2008 22:24:33 +0000 (14:24 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:32 +0000 (08:40 -0800)
commita067362f0b47d493094029188bce4cd322242345
treea330bfffe09dfca4340075bd9c44f632a3284469
parente1ab1ec57afcad5ff11fb897bcefa9d7b57b1a00
ocfs2: Create ocfs2_xattr_value_buf.

When an ocfs2 extended attribute is large enough to require its own
allocation tree, we root it with an ocfs2_xattr_value_root.  However,
these roots can be a part of inodes, xattr blocks, or xattr buckets.
Thus, they need a different journal access function for each container.

We wrap the bh, its journal access function, and the value root (xv) in
a structure called ocfs2_xattr_valu_buf.  This is a package that can
be passed around.  In this first pass, we simply pass it to the
extent tree code.

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