]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Pass xs->bucket into ocfs2_add_new_xattr_bucket().
authorJoel Becker <joel.becker@oracle.com>
Wed, 26 Nov 2008 23:25:41 +0000 (15:25 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:30 +0000 (08:40 -0800)
commitf6338413fe4aab250a2d677838651f4947f8c634
tree7082fbdd368eff8e82e09f26b24a9f19d17a8278
parent98ccbeb7eb44ffea393bc74100002a78133b0c27
ocfs2: Pass xs->bucket into ocfs2_add_new_xattr_bucket().

Pass the actual target bucket for insert through to
ocfs2_add_new_xattr_bucket().  Now growing a bucket has no buffer_head
knowledge.

ocfs2_add_new_xattr_bucket() leavs xs->bucket in the proper state for
insert.  However, it doesn't update the rest of the search fields in xs,
so we still have to relse() and re-find.  That's OK, because everything
is cached.

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