db_agsize
minlen > bmp->db_agsize ||
(extblkno & (bmp->db_agsize - 1)) == 0) {
if (bmp->db_agsize == BPERDMAP
|| bmp->db_agfree[agno] == bmp->db_agsize) {
(bmp->db_agfree[agno] == bmp->db_agsize)) {
bmp->db_agsize = le64_to_cpu(dbmp_le->dn_agsize);
if ((bmp->db_agfree[agno] == bmp->db_agsize && agno == bmp->db_maxag) ||
bmp->db_agsize)
dbmp_le->dn_agsize = cpu_to_le64(bmp->db_agsize);
bmp->db_agsize = (s64)1 << l2agsize;
bmp->db_numag += ((u32) newsize % (u32) bmp->db_agsize) ? 1 : 0;
ag_rem = bmp->db_mapsize & (bmp->db_agsize - 1); /* ??? */
bmp->db_aglevel = BMAPSZTOLEV(bmp->db_agsize);
if ((blkno & (bmp->db_agsize - 1)) == 0)
old_agsize = bmp->db_agsize; /* We need to know if this changes */
agsizechanged |= (bmp->db_agsize != old_agsize);
j_sb->s_agsize = cpu_to_le32(bmp->db_agsize);