|
|
| version 1.17, 2006/09/29 17:16:48 | version 1.18, 2007/02/21 14:37:52 |
|---|---|
| Line 431 _("out-of-order bmap key (file offset) i | Line 431 _("out-of-order bmap key (file offset) i |
| } | } |
| /* | /* |
| * If we're the last node at our level, check that the last child | * If we're the last node at our level, check that the last child |
| * block's forward sibling pointer is NULL. | * block's forward sibling pointer is NULL. |
| */ | */ |
| if (check_dups == 0 && | if (check_dups == 0 && |
| Line 1295 scan_ag( | Line 1295 scan_ag( |
| ASSERT(sb_dirty == 0 || (sb_dirty && !no_modify)); | ASSERT(sb_dirty == 0 || (sb_dirty && !no_modify)); |
| if (sb_dirty && !no_modify) { | if (sb_dirty && !no_modify) { |
| if (agno == 0) | |
| memcpy(&mp->m_sb, sb, sizeof(xfs_sb_t)); | |
| libxfs_xlate_sb(XFS_BUF_PTR(sbbuf), sb, -1, XFS_SB_ALL_BITS); | libxfs_xlate_sb(XFS_BUF_PTR(sbbuf), sb, -1, XFS_SB_ALL_BITS); |
| libxfs_writebuf(sbbuf, 0); | libxfs_writebuf(sbbuf, 0); |
| } else | } else |