~ubuntu-branches/ubuntu/edgy/xfsprogs/edgy

« back to all changes in this revision

Viewing changes to libxfs/xfs_mount.c

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2005-03-30 10:52:07 UTC
  • Revision ID: james.westby@ubuntu.com-20050330105207-fv1jw5r9d2fgwvew
Tags: 2.6.28-1
* New upstream release.
* Fix compilation with gcc version 4 (closes: #300544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
        }
229
229
}
230
230
 
231
 
void
232
 
xfs_initialize_perag(xfs_mount_t *mp, int agcount)
 
231
xfs_agnumber_t
 
232
xfs_initialize_perag(xfs_mount_t *mp, xfs_agnumber_t agcount)
233
233
{
234
 
        int             index, max_metadata;
 
234
        xfs_agnumber_t  index, max_metadata;
235
235
        xfs_perag_t     *pag;
236
236
        xfs_agino_t     agino;
237
237
        xfs_ino_t       ino;
287
287
                        pag->pagi_inodeok = 1;
288
288
                }
289
289
        }
290
 
        mp->m_maxagi = index;
 
290
        return index;
291
291
}