Dave, you botched a copy & paste here: On Mon, Nov 12, 2012 at 10:54:04PM +1100, Dave Chinner wrote: > + agf_ok = agf->agf_magicnum == cpu_to_be32(XFS_AGF_MAGIC) && > + XFS_AGF_GOOD_VERSION(be32_to_cpu(agf->agf_versionnum)) && > + be32_to_cpu(agf->agf_freeblks) <= be32_to_cpu(agf->agf_length) && > + be32_to_cpu(agf->agf_flfirst) < XFS_AGFL_SIZE(mp) && > + be32_to_cpu(agf->agf_fllast) < XFS_AGFL_SIZE(mp) && > + be32_to_cpu(agf->agf_flcount) <= XFS_AGFL_SIZE(mp) && > + be32_to_cpu(agf->agf_flcount) <= XFS_AGFL_SIZE(mp); See: > - agf_ok = > - agf->agf_magicnum == cpu_to_be32(XFS_AGF_MAGIC) && > - XFS_AGF_GOOD_VERSION(be32_to_cpu(agf->agf_versionnum)) && > - be32_to_cpu(agf->agf_freeblks) <= be32_to_cpu(agf->agf_length) && > - be32_to_cpu(agf->agf_flfirst) < XFS_AGFL_SIZE(mp) && > - be32_to_cpu(agf->agf_fllast) < XFS_AGFL_SIZE(mp) && > - be32_to_cpu(agf->agf_flcount) <= XFS_AGFL_SIZE(mp) && > - be32_to_cpu(agf->agf_seqno) == agno; -Phil _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs