ocfs2: Always update xattr search when creating bucket.

When we create xattr bucket during the process of xattr set, we always
need to update the ocfs2_xattr_search since even if the bucket size is
the same as block size, the offset will change because of the removal
of the ocfs2_xattr_block header.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>

authored by Tao Ma and committed by Mark Fasheh 83099bc6 1bda7128

+2 -2
+2 -2
fs/ocfs2/xattr.c
··· 2645 2645 return ret; 2646 2646 } 2647 2647 2648 - i = xs->here - old_xh->xh_entries; 2649 - xs->here = &xs->header->xh_entries[i]; 2650 2648 } 2649 + i = xs->here - old_xh->xh_entries; 2650 + xs->here = &xs->header->xh_entries[i]; 2651 2651 } 2652 2652 2653 2653 return ret;