xfs: convert remaining mount flags to state flags
[linux-2.6-microblaze.git] / fs / xfs / libxfs / xfs_alloc.c
index 75aa0f4..89c5549 100644 (file)
@@ -3166,7 +3166,7 @@ xfs_alloc_vextent(
                 * the first a.g. fails.
                 */
                if ((args->datatype & XFS_ALLOC_INITIAL_USER_DATA) &&
-                   (mp->m_flags & XFS_MOUNT_32BITINODES)) {
+                   xfs_is_inode32(mp)) {
                        args->fsbno = XFS_AGB_TO_FSB(mp,
                                        ((mp->m_agfrotor / rotorstep) %
                                        mp->m_sb.sb_agcount), 0);