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)
commit91f2033fa997aa92607470ed1ef90685b9d77a8c
tree7082fbdd368eff8e82e09f26b24a9f19d17a8278
parented29c0ca14871021fc8aced74650648dcb2c6e81
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