Hi Brain,
Can I change as following?
ASSERTS are no-ops in a non-debug kernel, so this won't change any behavior. I hope we'll know more if we get new traces from your patched kernel....
Eric --- a/xfs_inode.c +++ b/xfs_inode.c @@ -1773,6 +1773,8 @@ xfs_iunlink_remove( if (last_ibp != NULL) { xfs_trans_brelse(tp, last_ibp);
} + ASSERT(next_agino != NULLAGINO); + ASSERT(next_agino != 0); next_ino = XFS_AGINO_TO_INO(mp, agno, next_agino);
error = xfs_inotobp(mp, tp, next_ino, &last_dip, &last_ibp, &last_offset, 0); @@ -1783,8 +1785,6 @@ xfs_iunlink_remove( return error;
} next_agino = be32_to_cpu(last_dip->di_next_unlinked); - ASSERT(next_agino != NULLAGINO); - ASSERT(next_agino != 0);
} /* * Now last_ibp points to the buffer previous to us on
Thank you.
|
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs