ocfs2/xattr.c: Fix a bug when inserting xattr.
commit06b240d8af21ddee4cfec3b0f02b81d9f168a98a
authorTao Ma <tao.ma@oracle.com>
Fri, 19 Sep 2008 14:16:34 +0000 (19 22:16 +0800)
committerMark Fasheh <mfasheh@suse.com>
Tue, 14 Oct 2008 00:02:43 +0000 (13 17:02 -0700)
treeeb725cc51e755252b17efb235db4c9d9adeb7469
parentb0f73cfc36ed62decdd3f78e943bbfd00ee80e49
ocfs2/xattr.c: Fix a bug when inserting xattr.

During the process of xatt insertion, we use binary search
to find the right place and "low" is set to it. But when
there is one xattr which has the same name hash as the inserted
one, low is the wrong value. So set it to the right position.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c