diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2008-06-23 13:25:53 +1000 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 16:59:03 +1000 |
commit | ddea2d5246b4ffbe49bbfb700aa3dbe717eb0915 (patch) | |
tree | 9b3041590c9a6f2a15ab15682605d796d7ba9d19 /fs/reiserfs/do_balan.c | |
parent | 6bd8fc8a55cba263bab0b1c24786e95c5a2dc720 (diff) |
[XFS] Always reset btree cursor after an insert
After a btree insert operation a cursor can be invalid due to block splits
and a maybe a new root block. We reset the cursor in xfs_bmbt_insert() in
the cases where we think we need to but it isn't enough as we still see
assertions. Just do what we do elsewhere and reset the cursor
unconditionally. Also remove the fix to revalidate the original cursor in
xfs_bmbt_insert().
SGI-PV: 983336
SGI-Modid: xfs-linux-melb:xfs-kern:31342a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Diffstat (limited to 'fs/reiserfs/do_balan.c')
0 files changed, 0 insertions, 0 deletions