Merge branch 'xfs-misc-fixes-3.17-1' into for-next

This commit is contained in:
Dave Chinner
2014-08-04 13:54:14 +10:00
25 changed files with 166 additions and 353 deletions

View File

@@ -425,7 +425,7 @@ xfs_bmap_count_blocks(
ASSERT(level > 0);
pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes);
bno = be64_to_cpu(*pp);
ASSERT(bno != NULLDFSBNO);
ASSERT(bno != NULLFSBLOCK);
ASSERT(XFS_FSB_TO_AGNO(mp, bno) < mp->m_sb.sb_agcount);
ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks);