]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/xattr.c: Fix a bug when inserting xattr.
authorTao Ma <tao.ma@oracle.com>
Fri, 19 Sep 2008 14:16:34 +0000 (22:16 +0800)
committerMark Fasheh <mfasheh@suse.com>
Tue, 14 Oct 2008 00:02:43 +0000 (17:02 -0700)
commitde4003ad224a5a3919faf46d865ce3754d26a9cf
treeeb725cc51e755252b17efb235db4c9d9adeb7469
parent4f002e481a8e588807976df17e4977356a095914
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